]> granicus.if.org Git - clang/commit
Factor out repeated parsing of a member-declarator when parsing a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Jan 2014 23:53:27 +0000 (23:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Jan 2014 23:53:27 +0000 (23:53 +0000)
commit8ad3a57588492550946aeeeddf099de60d270d95
tree7e4fbc573413b05666bfc3f3ca848b32a2e2ecbc
parentb925b8b7734f98f4ed2bdb87871bcec14673b281
Factor out repeated parsing of a member-declarator when parsing a
member-declaration. In the process, fix a couple of bugs that had crept in
where we would parse the first and subsequent member-declarators differently
(in particular, we didn't accept an asm-label on a member function definition
within a class, and we would accept virt-specifiers and attributes in the wrong
order on the first declarator but not on subsequent ones).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199957 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/ParseDeclCXX.cpp
test/Parser/cxx0x-decl.cpp