diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-21 23:43:39 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-21 23:43:39 +0000 |
commit | 20c38a7c5870d300a4d713c13ac5e761d61d04d7 (patch) | |
tree | 8dbe947280a848c69a762ab51387ceb3c59e0b76 /llvm/lib/CodeGen | |
parent | 53ff992dde7d169ab1334264d2c542478d6b3706 (diff) | |
download | bcm5719-llvm-20c38a7c5870d300a4d713c13ac5e761d61d04d7.tar.gz bcm5719-llvm-20c38a7c5870d300a4d713c13ac5e761d61d04d7.zip |
Improve recovery when we see a dependent template name that is missing
the required "template" keyword, using the same heuristics we do for
dependent template names in member access expressions, e.g.,
test/SemaTemplate/dependent-template-recover.cpp:11:8: error: use 'template'
keyword to treat 'getAs' as a dependent template name
T::getAs<U>();
^
template
Fixes PR5404.
llvm-svn: 104409
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions