diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-10-29 19:58:09 +0100 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-11-02 13:23:24 +0100 |
commit | 12ffca24357eb24f1a5d95d9e1db0919e8873cf1 (patch) | |
tree | b80782db25873630895d544b6db323aac6116b43 /src/qdoc/clangcodeparser.cpp | |
parent | 2b3ad117e6cb7ea5d61c1d47f31dc61dd488f2bf (diff) | |
download | qttools-12ffca24357eb24f1a5d95d9e1db0919e8873cf1.tar.gz |
qdoc: Enable C++20 support
Some public API features are conditionally enabled if the compiler
supports C++20; enable this in QDoc as well when initializing
libclang.
Change-Id: I58fd8a62497de08da97ea28fc7a28811d91dd12e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r-- | src/qdoc/clangcodeparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp index b3df03cf6..3bc36f220 100644 --- a/src/qdoc/clangcodeparser.cpp +++ b/src/qdoc/clangcodeparser.cpp @@ -1220,7 +1220,7 @@ void ClangCodeParser::parseHeaderFile(const Location & /*location*/, const QStri } static const char *defaultArgs_[] = { - "-std=c++17", + "-std=c++20", #ifndef Q_OS_WIN "-fPIC", #else |