[analyzer] Turn stl inlining back on.

The one reported bug, which was exposed by stl inlining, is addressed in
r163558.

llvm-svn: 163574
This commit is contained in:
Anna Zaks 2012-09-10 23:59:02 +00:00
parent 69ed53ab5f
commit 1ded453e36
2 changed files with 2 additions and 2 deletions

View 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;
}

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-ipa=dynamic -verify %s
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-ipa=dynamic -analyzer-config c++-stdlib-inlining=false -verify %s
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-ipa=dynamic -analyzer-config c++-stdlib-inlining=true -DINLINE=1 -verify %s
#include "../system-header-simulator-cxx.h"