commit | 1ddc9c4674b7c737ec65241a531df8c64e40b0a9 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Sep 06 21:41:04 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Sep 06 21:41:04 2011 +0000 |
tree | 5458b6904520917ace4ba747143ae72d561b14c8 | |
parent | ba26149eb7b20bc9d4ed0581aefe7237b2a08fd8 [diff] |
When extracting the callee declaration from a call expression, be sure to look through SubstNonTypeTemplateParmExprs. Then, update the IR generation of CallExprs to actually use CallExpr::getCalleeDecl() rather than attempting to mimick its behavior (badly). Fixes <rdar://problem/10063539>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139185 91177308-0d34-0410-b5e6-96231b3b80d8