diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-05 05:58:24 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-05 05:58:24 +0000 |
commit | 0278e123b4606ea15dbfa717e9c5a76a5ef2bc7d (patch) | |
tree | 6fe1a51b328afd6472f8ba844f8b11e9dc3f7bd7 /lib/CodeGen | |
parent | c3d26cc4eea5187ce13ed180b479ff8ef41015a7 (diff) |
Support for 'template' as a disambiguator (PR7030)
ParseOptionalCXXScopeSpecifier() only annotates the subset of
template-ids which are not subject to lexical ambiguity. Add support
for the more general case in ParseUnqualifiedId() to handle cases
such as A::template B().
Also improve some diagnostic locations.
Fixes PR7030, from Alp Toker!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions