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/clangbuilder.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/clangbuilder.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp index fd7566c12..407a7a9e7 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp @@ -850,7 +850,7 @@ BuilderPrivate::SpecialSystemHeader return SpecialSystemHeader::OpenGL; } - switch (clang::platform()) { + switch (clang::optionsTriplet().platform()) { case Platform::Linux: case Platform::Unix: if (fileName == u"/usr/include/stdlib.h" |
