From: Jordan Rose Date: Tue, 11 Sep 2012 20:26:49 +0000 (+0000) Subject: Revert "[analyzer] Disable STL inlining. Blocked by PR13724." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9f1f234932e80bb83be9b094e163ca4c47a3086;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163647 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp b/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp index 9e029c7e29..a96dfe1e48 100644 --- a/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp +++ b/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp @@ -69,7 +69,7 @@ bool AnalyzerOptions::includeTemporaryDtorsInCFG() const { bool AnalyzerOptions::mayInlineCXXStandardLibrary() const { if (!InlineCXXStandardLibrary.hasValue()) const_cast &>(InlineCXXStandardLibrary) = - getBooleanOption("c++-stdlib-inlining", /*Default=*/false); + getBooleanOption("c++-stdlib-inlining", /*Default=*/true); return *InlineCXXStandardLibrary; }