Go to file
Richard Smith c5b0552055 Fix parsing of type-specifier-seq's. Types are syntactically allowed to be
defined here, but not semantically, so

  new struct S {};

is always ill-formed, even if there is a struct S in scope.

We also had a couple of bugs in ParseOptionalTypeSpecifier caused by it being
under-loved (due to it only being used in a few places) so merge it into
ParseDeclarationSpecifiers with a new DeclSpecContext. To avoid regressing, this
required improving ParseDeclarationSpecifiers' diagnostics in some cases. This
also required teaching ParseSpecifierQualifierList about constexpr... which
incidentally fixes an issue where we'd allow the constexpr specifier in other
bad places.

llvm-svn: 152549
2012-03-12 07:56:15 +00:00
clang Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
compiler-rt [ASan] Use WriteFile instead of fwrite in AsanWrite 2012-03-11 12:45:12 +00:00
debuginfo-tests Revert previous patch as the corresponding clang patch was reverted. 2012-01-26 07:01:33 +00:00
libclc Switch to BSD/MIT dual license. 2012-02-22 04:47:39 +00:00
libcxx Fix moneypunct_byname algorithm to more accurately represent C locales in C++. 2012-03-10 18:31:43 +00:00
libcxxabi Enable / silence -Wunused-parameter. 2012-03-09 18:01:37 +00:00
lld Fix MSVC incompatibilities. 2012-03-09 05:27:43 +00:00
lldb Hardened the process of reading the program counter 2012-03-10 03:03:46 +00:00
llvm Switch to unified syntax for VFP instructions in inline assembly. 2012-03-12 06:15:36 +00:00
polly Remove FinalRead 2012-03-08 15:21:51 +00:00