summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-07-02 07:04:14 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2019-07-03 08:41:45 +0000
commitf7a50cab668c27ab8e17be96add02e515e9b1681 (patch)
treead7ad7536a2a05f04a3d1c6a7b580135ed7ee680
parent199329c9df889d371dc5f717248fcc519e8952e3 (diff)
downloadqttools-f7a50cab668c27ab8e17be96add02e515e9b1681.tar.gz
qdoc: Remove hard-coded -fno-exceptions Clang option
This was a workaround for http://reviews.llvm.org/D17988 that has now been fixed. This commit enables exception support for code parsed by QDoc. If required, the option can still be defined using 'clangdefines' qdocconf variable. Task-number: QTBUG-76795 Change-Id: I010293b25fb7833a267a6a488cbe94a477352664 Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Michael Vlach <vlach.michael@gmail.com>
-rw-r--r--src/qdoc/clangcodeparser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index b7ff1305e..9cdff385c 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1116,7 +1116,6 @@ static const char *defaultArgs_[] = {
#else
"-fms-compatibility-version=19",
#endif
- "-fno-exceptions", // Workaround for clang bug http://reviews.llvm.org/D17988
"-DQ_QDOC",
"-DQ_CLANG_QDOC",
"-DQT_DISABLE_DEPRECATED_BEFORE=0",