diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-11-18 11:43:11 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-11-21 15:26:54 +0100 |
| commit | 19200959347ef98e58ab87aab090f2c0c7dd75c3 (patch) | |
| tree | 4ad0d77b12a483d89ba237bdb54d27a27ef23139 /sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp | |
| parent | 12827c71acde234400331ee3229b5f2a6542e171 (diff) | |
shiboken6: Add a triplet class
Extract the architecture/platform information from compilersupport.cpp
into a separate Triplet class which can be tested independently and
is not tied to the shiboken logic (initialization to host defaults, etc).
As a result, compilersupport.cpp becomes much cleaner.
Task-number: PYSIDE-3105
Change-Id: I3ea709a02184c73814dc34686be75017fa1391fa
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp index 9289a4cb5..106f735e5 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp @@ -293,7 +293,7 @@ static void setupTarget(CXTranslationUnit translationUnit) QTextStream str(&message); str << "CLANG v" << CINDEX_VERSION_MAJOR << '.' << CINDEX_VERSION_MINOR << " targeting \"" << targetTriple << "\"/" - << clang::compilerTripletValue(clang::compiler()) + << optionsTriplet().compilerTripletValue() << ", " << pointerSize << "bit"; if (clang::isCrossCompilation()) str << ", (cross build)"; |
