]> granicus.if.org Git - clang/commit
Only parse C++0x attribute specifiers in declarators when in C++0x
authorDouglas Gregor <dgregor@apple.com>
Fri, 19 Feb 2010 16:47:56 +0000 (16:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 19 Feb 2010 16:47:56 +0000 (16:47 +0000)
commit3c3aaf9bdff81af40212e9a1ac517ad7c793d5cc
treefa58612a8cdcbd363d1953ad261312a301dcbc7a
parent36262b81559cfce4f67256d052e4fed343a02861
Only parse C++0x attribute specifiers in declarators when in C++0x
mode. This allows us to detect invalid VLAs in Objective-C++
mode. This should be the last of <rdar://problem/7660386>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/SemaObjCXX/vla.mm [new file with mode: 0644]