forked from OSchip/llvm-project
[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:
parent
69ed53ab5f
commit
1ded453e36
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue