]> granicus.if.org Git - clang/commit
Refactor __attribute__ parsing, and add a diagnostic if the r_paren at the end
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 17 Oct 2011 21:20:17 +0000 (21:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 17 Oct 2011 21:20:17 +0000 (21:20 +0000)
commitfe0a0fb65f18a8495d97a700ca62fe639ffd85e9
treee7ac6f745bc6a7e0929fd8891725dfe63611055c
parentabd2a3e8bc251a693d4d09819fd76f2e482c21ff
Refactor __attribute__ parsing, and add a diagnostic if the r_paren at the end
of an attrib is missing. gcc does not allow the closing parenthesis to be omitted.

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