]> granicus.if.org Git - clang/commit
[analyzer] Begin replacing ObjCMessage with ObjCMethodCall and friends.
authorJordan Rose <jordan_rose@apple.com>
Mon, 2 Jul 2012 19:27:56 +0000 (19:27 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 2 Jul 2012 19:27:56 +0000 (19:27 +0000)
commitcde8cdbd6a662c636164465ad309b5f17ff01064
treeebce699ba42e19f1bf42bf3fdaef62a666960b24
parent85d7e01cf639b257d70f8a129709a2d7594d7b22
[analyzer] Begin replacing ObjCMessage with ObjCMethodCall and friends.

Previously, the CallEvent subclass ObjCMessageInvocation was just a wrapper
around the existing ObjCMessage abstraction (over message sends and property
accesses). Now, we have abstract CallEvent ObjCMethodCall with subclasses
ObjCMessageSend and ObjCPropertyAccess.

In addition to removing yet another wrapper object, this should make it easy
to add a ObjCSubscriptAccess call event soon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159558 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/Calls.h
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h
lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
lib/StaticAnalyzer/Core/Calls.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/ExprEngineObjC.cpp