commit | 70cbf3cc09eb21db1108396d30a414ea66d842cc | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Mon Jul 02 22:21:47 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Mon Jul 02 22:21:47 2012 +0000 |
tree | 616162322cc763100a3285634585fcadab7c6b2c | |
parent | 879a4334e4c4cab0c22ba91492ffc2838bbc21fc [diff] [blame] |
[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
diff --git a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp index 936bf9c..5940131 100644 --- a/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
@@ -947,6 +947,7 @@ case CE_CXXMember: case CE_Block: case CE_CXXConstructor: + case CE_CXXAllocator: // FIXME: These calls are currently unsupported. return getPersistentStopSummary(); case CE_ObjCMessage: