]> granicus.if.org Git - clang/commit
[analyzer] Inline C++ operator new when c++-inline-allocators is turned on.
authorJordan Rose <jordan_rose@apple.com>
Tue, 11 Feb 2014 02:21:06 +0000 (02:21 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 11 Feb 2014 02:21:06 +0000 (02:21 +0000)
commitd0f476b4cbbaa499af7582248164b4695b21a39d
treec83279f403ecd76408089c2989840cd3dc154646
parent3ab3daec81111e00f1a70f482f29aaf38bfcedf3
[analyzer] Inline C++ operator new when c++-inline-allocators is turned on.

This will let us stage in the modeling of operator new. The -analyzer-config
opton 'c++-inline-allocators' is currently off by default.

Patch by Karthik Bhat!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201122 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
lib/StaticAnalyzer/Core/CoreEngine.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
test/Analysis/inline.cpp