[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)
commitf4a0e9a78c46e9b59c6e549e465dfbbbd93475d9
tree412f31382432d4204383d1ac846bb49d769d3191
parentb84d653e9b49e33f3b109d082cfa527b45c22674
[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.

llvm-svn: 327593
clang/lib/Analysis/CFG.cpp
clang/test/SemaCXX/constant-conversion.cpp [new file with mode: 0644]