diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/compilersupport.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/compilersupport.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h index d9e213e73..479e211ce 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.h @@ -42,6 +42,18 @@ enum class LanguageLevel { Cpp1Z }; +enum class Compiler { + Msvc, + Gpp, + Clang +}; + +enum class Platform { + Unix, + Windows, + macOS +}; + namespace clang { QVersionNumber libClangVersion(); @@ -50,6 +62,9 @@ LanguageLevel emulatedCompilerLanguageLevel(); const char *languageLevelOption(LanguageLevel l); LanguageLevel languageLevelFromOption(const char *); + +Compiler compiler(); +Platform platform(); } // namespace clang #endif // COMPILERSUPPORT_H |