summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-01-15 17:25:15 +0000
committerJordan Rose <jordan_rose@apple.com>2014-01-15 17:25:15 +0000
commit2ff5a1edc04d447e0360c4e4ce92e0803c6b0e3a (patch)
tree62bb72c2aec3eeedf864ef96b9401a3d05c8b0af /lib/CodeGen/CodeGenFunction.cpp
parenta966b85e0fb4d37e12252bbb7edf897c5b5404ad (diff)
downloadclang-2ff5a1edc04d447e0360c4e4ce92e0803c6b0e3a.tar.gz
clang-2ff5a1edc04d447e0360c4e4ce92e0803c6b0e3a.tar.bz2
clang-2ff5a1edc04d447e0360c4e4ce92e0803c6b0e3a.tar.xz
[analyzer] BlockCall shouldn't really be an AnyFunctionCall.
Per discussion with Anna a /long/ time ago, it was way too easy to misuse BlockCall: because it inherited from AnyFunctionCall (through SimpleCall), getDecl() was constrained to return a FunctionDecl, and you had to call getBlockDecl() instead. This goes against the whole point of CallEvent (to abstract over different ways to invoke bodies of code). Now, BlockCall just inherits directly from CallEvent. There's a bit of duplication in getting things out of the origin expression (which is still known to be a CallExpr), but nothing significant. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions