[analyzer] Add some convenience accessors to CallEvent, and use them.
authorJordan Rose <jordan_rose@apple.com>
Fri, 2 Nov 2012 23:49:29 +0000 (23:49 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 2 Nov 2012 23:49:29 +0000 (23:49 +0000)
commit829c38311444024521e76fbc0e7bbebb029b04c0
tree3102b3b41d43207a4ff633f3d6d108dd8764d941
parent0da674790151c90a60dfa9a20e4209cece8ade7a
[analyzer] Add some convenience accessors to CallEvent, and use them.

These are CallEvent-equivalents of helpers already accessible in
CheckerContext, as part of making it easier for new checkers to be written
using CallEvent rather than raw CallExprs.

llvm-svn: 167338
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
clang/lib/StaticAnalyzer/Core/CallEvent.cpp
clang/lib/StaticAnalyzer/Core/CheckerContext.cpp