diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-02 22:21:47 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-02 22:21:47 +0000 |
commit | 70cbf3cc09eb21db1108396d30a414ea66d842cc (patch) | |
tree | 616162322cc763100a3285634585fcadab7c6b2c /lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | |
parent | 879a4334e4c4cab0c22ba91492ffc2838bbc21fc (diff) |
[analyzer] Introduce CXXAllocatorCall to handle placement arg invalidation.
This is NOT full-blown support for operator new, but removes some nasty
duplicated code introduced in r158784.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 936bf9cf97..5940131a5b 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp @@ -947,6 +947,7 @@ RetainSummaryManager::getSummary(const CallEvent &Call, case CE_CXXMember: case CE_Block: case CE_CXXConstructor: + case CE_CXXAllocator: // FIXME: These calls are currently unsupported. return getPersistentStopSummary(); case CE_ObjCMessage: |