[cfe-commits] r142928 - in /cfe/trunk: include/clang/Parse/Parser.h lib/Parse/ParseDeclCXX.cpp test/CXX/class.derived/p1.cpp
David Blaikie
dblaikie at gmail.com
Tue Oct 25 11:22:15 PDT 2011
> I'm not convinced that this is the right fix, especially because ParseOptionalCXXScopeSpecifier *should* eventually be parsing
>
> decltype(blah)::
>
> as a nested-name-specifier.
Ah, so it should.
> Why not just diagnose a non-empty nested-name-specifier when we're parsing a decltype()?
Committed this change as r142935, including a FixIt to remove the
spurious nested-name-specifier.
Thanks,
- David
More information about the cfe-commits
mailing list