]> granicus.if.org Git - clang/commit
[CFG] Allow CallExpr's to be looked up in CFG's
authorRichard Trieu <rtrieu@google.com>
Thu, 15 Mar 2018 00:09:26 +0000 (00:09 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 15 Mar 2018 00:09:26 +0000 (00:09 +0000)
commit4c8659fac74effd732482303c920442a596f9202
tree1f580160a53537f9cf7619b6f0449ddf923acd8d
parentaec0249eaf6422510615b8d3c497995e5a09219d
[CFG] Allow CallExpr's to be looked up in CFG's

r327343 changed the handling for CallExpr in a CFG, which prevented lookups for
CallExpr while other Stmt kinds still worked.  This change carries over the
necessary bits from Stmt function to CallExpr function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327593 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp
test/SemaCXX/constant-conversion.cpp [new file with mode: 0644]