summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-08-28 00:00:27 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-08-28 00:00:27 +0000
commit97ed61f5b6fc096725b65c2b1c1bf58eb16c9611 (patch)
tree36d9f7b887fdb369f44a299e937d304170e0180c /lib/CodeGen/CodeGenFunction.cpp
parentc7971a9efdf9880448a69aabb5182c3c27eecf6d (diff)
downloadclang-97ed61f5b6fc096725b65c2b1c1bf58eb16c9611.tar.gz
clang-97ed61f5b6fc096725b65c2b1c1bf58eb16c9611.tar.bz2
clang-97ed61f5b6fc096725b65c2b1c1bf58eb16c9611.tar.xz
AST: Don't treat a TemplateExpansion as a Template
Summary: Instead of calling getAsTemplate(), call getAsTemplateOrTemplatePattern() because it handles the TemplateExpansion case too. This fixes PR16997. Reviewers: doug.gregor, rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1512 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions