aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-11-18 15:30:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-11-19 21:56:25 +0100
commitbce5860c3855cc5d86aa5e7df59a35f9c9bb0455 (patch)
tree64036e14659cdad723af0c41304ba288ed185c41 /sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp
parent072ffd057a29a694a0ad91894736bb4d0a88738e (diff)
shiboken6/compilersupport.cpp: Remove values that are only used for logging
Remove the getters/setters and make them function-local as they unnecessarily clutter the code. Task-number: PYSIDE-3105 Change-Id: Ia56f65ae169e1e9e7b96ca2d98b6694ae9f3f208 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp
index 1f67a143b..560b26b63 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp
@@ -90,9 +90,6 @@ bool setCompiler(const QString &name)
QString _compilerPath; // Pre-defined compiler path (from command line)
QStringList _compilerArguments; // Arguments
-static unsigned _pointerSize = QT_POINTER_SIZE * 8;
-static QString _targetTriple;
-
const QString &compilerPath()
{
return _compilerPath;
@@ -713,26 +710,6 @@ LanguageLevel languageLevelFromOption(const char *o)
return LanguageLevel::Default;
}
-unsigned pointerSize()
-{
- return _pointerSize;
-}
-
-void setPointerSize(unsigned ps)
-{
- _pointerSize = ps;
-}
-
-QString targetTriple()
-{
- return _targetTriple;
-
-}
-void setTargetTriple(const QString &t)
-{
- _targetTriple = t;
-}
-
bool isCrossCompilation()
{
return platform() != hostPlatform() || architecture() != hostArchitecture()