[cfe-commits] r163647 - /cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp

Jordan Rose jordan_rose at apple.com
Tue Sep 11 13:26:49 PDT 2012


Author: jrose
Date: Tue Sep 11 15:26:49 2012
New Revision: 163647

URL: http://llvm.org/viewvc/llvm-project?rev=163647&view=rev
Log:
Revert "[analyzer] Disable STL inlining. Blocked by PR13724."

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.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp?rev=163647&r1=163646&r2=163647&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp Tue Sep 11 15:26:49 2012
@@ -69,7 +69,7 @@
 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;
 }





More information about the cfe-commits mailing list