]> granicus.if.org Git - clang/commitdiff
Revert "[analyzer] Disable STL inlining. Blocked by PR13724."
authorJordan Rose <jordan_rose@apple.com>
Tue, 11 Sep 2012 20:26:49 +0000 (20:26 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 11 Sep 2012 20:26:49 +0000 (20:26 +0000)
While PR13724 is still an issue, it's not actually an issue in the STL.
We can keep this option around in case there turn out to be widespread
false positives due to poor modeling of the C++ standard library functions,
but for now we'd like to get more data.

This reverts r163633 / c6baadceec1d5148c20ee6c902a102233c547f62.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163647 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/AnalyzerOptions.cpp

index 9e029c7e298a0554deba502ce4bb3ffb38a6b1e2..a96dfe1e48b496b17b52115effe34869cd0623fe 100644 (file)
@@ -69,7 +69,7 @@ bool AnalyzerOptions::includeTemporaryDtorsInCFG() const {
 bool AnalyzerOptions::mayInlineCXXStandardLibrary() const {
   if (!InlineCXXStandardLibrary.hasValue())
     const_cast<llvm::Optional<bool> &>(InlineCXXStandardLibrary) =
-      getBooleanOption("c++-stdlib-inlining", /*Default=*/false);
+      getBooleanOption("c++-stdlib-inlining", /*Default=*/true);
   
   return *InlineCXXStandardLibrary;
 }