summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-20 14:19:53 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-23 12:09:31 +0000
commit5af8ace0d3f026078e0acd9898341e74da376a5c (patch)
tree4c4ead6d273383d2c99fcc001256d2331c0df3d8
parenta1b09497f2f198e6ea523637321a0e11fa310d9c (diff)
shiboken: Remove -fno-exceptions from Clang parse options
The option is a workaround for an old LLVM bug and is no longer needed. Worse, it causes parse errors in code that declares throw(). Task-number: PYSIDE-62 Change-Id: Ib72b14cc704c04ae3b4197fd2af718276e3fe788 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp
index 301b4211..ce0b6554 100644
--- a/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp
+++ b/sources/shiboken2/ApiExtractor/clangparser/clangparser.cpp
@@ -199,7 +199,6 @@ static CXTranslationUnit createTranslationUnit(CXIndex index,
#ifndef Q_OS_WIN
"-fPIC",
#endif
- "-fno-exceptions", // Workaround for clang bug http://reviews.llvm.org/D17988
#ifdef Q_OS_MACOS
"-Wno-expansion-to-defined", // Workaround for warnings in Darwin stdlib, see
// https://github.com/darlinghq/darling/issues/204