[cfe-commits] [patch] PR10127/N3031 supporting decltype in nested-namespace-specifiers
dblaikie at gmail.com
Sun Nov 6 22:15:54 PST 2011
Here's a patch that adds support for decltype in
nested-namespace-specifiers. I've included test cases for use of this
feature in both declarations and expressions (open to suggestions for
other contexts that might benefit from coverage).
I've also improved error recovery of the existing use of decltype (for
declarations) & these new uses by calling DeclSpec
setTypeSpecTypeError when errors are encountered while trying to parse
a decltype-specifier. There's probably still some error recovery to
improve, though, as I'm not currently doing anything with
ActOnCXXNestedNameSpecifierDecltype's return value as I'm not sure
what the best error recovery would be there. I suppose the
CXXScopeSpec should at least be failed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13520 bytes
Desc: not available
More information about the cfe-commits