]> granicus.if.org Git - clang/commit
'constexpr' and 'friend' are both declaration specifiers. Teach the parser this,...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 25 Oct 2012 00:00:53 +0000 (00:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 25 Oct 2012 00:00:53 +0000 (00:00 +0000)
commit53aec2a2770afc242c70fd88975cd0ea389087c0
tree89c8c70abe8d206e6134f451ee2200c593d0fc63
parente925322569cb4aad26cc62036a13e2d3daed862d
'constexpr' and 'friend' are both declaration specifiers. Teach the parser this, for better error recovery.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/Parser/recovery.cpp