- Mar 12, 2012
-
-
Richard Smith authored
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
-
Nick Lewycky authored
llvm-svn: 152547
-
- Mar 11, 2012
-
-
Fariborz Jahanian authored
statically writter metadata. // rdar://11023490 llvm-svn: 152546
-
Douglas Gregor authored
llvm-svn: 152543
-
NAKAMURA Takumi authored
To link with -static -lclang, linker tries to seek not libclang.so, clang.dll nor libclang.dll.a, but libclang.a. USEDLIBS should have correct dependencies for -static. (In contrast, USEDLIBS=libclang.so might be enough w/o -static) FYI, cygwin build (in buildbot) is using -static, due to avoiding weirdness of extremely slower startup lag of clang.exe. llvm-svn: 152539
-
David Blaikie authored
The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
-
Stepan Dyatkovskiy authored
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152533
-
Douglas Gregor authored
llvm-svn: 152531
-
Douglas Gregor authored
structural comparison of non-dependent types. Otherwise, we end up rejecting cases where the non-dependent types don't match due to qualifiers in, e.g., a pointee type. Fixes PR12132. llvm-svn: 152529
-
Richard Smith authored
collection'. Keep it in the table to match gcc's table, but mark it N/A. llvm-svn: 152528
-
Douglas Gregor authored
llvm-svn: 152526
-
Jordy Rose authored
llvm-svn: 152521
-
Douglas Gregor authored
access expression is the start of a template-id, ignore function templates found in the context of the entire postfix-expression. Fixes PR11856. llvm-svn: 152520
-
David Blaikie authored
Test case/other help by Richard Smith. Code review by John McCall. llvm-svn: 152519
-
- Mar 10, 2012
-
-
Aaron Ballman authored
llvm-svn: 152516
-
Aaron Ballman authored
Patch thanks to Nikola Smiljanic llvm-svn: 152514
-
Gregory Szorc authored
llvm-svn: 152513
-
Aaron Ballman authored
No longer defining GNUC mode when compiling for Microsoft compatibility. This allows people's cross-platform compiler-specific macros to work properly. llvm-svn: 152512
-
Douglas Gregor authored
llvm-svn: 152511
-
Gregory Szorc authored
llvm-svn: 152510
-
Richard Smith authored
does not imply that such functions can't be declared at block scope. llvm-svn: 152509
-
Benjamin Kramer authored
llvm-svn: 152504
-
Benjamin Kramer authored
llvm-svn: 152503
-
Fariborz Jahanian authored
declaration of class metadata when they are defined later. llvm-svn: 152500
-
Fariborz Jahanian authored
// rdar://11024543 llvm-svn: 152496
-
Benjamin Kramer authored
No functionality change. llvm-svn: 152494
-
Rafael Espindola authored
llvm-svn: 152493
-
John McCall authored
track whether the referenced declaration comes from an enclosing local context. I'm amenable to suggestions about the exact meaning of this bit. llvm-svn: 152491
-
Nick Lewycky authored
enum is scoped or not, which is not relevant here. Instead, phrase the loop in the same terms that the standard uses, instead of this awkward set of conditions that is *nearly* equal. llvm-svn: 152489
-
Nick Lewycky authored
please annotate it with a note explaining why this wrong-seeming behaviour is correct. llvm-svn: 152488
-
Douglas Gregor authored
doing a copy. Fixes PR12139. llvm-svn: 152485
-
Argyrios Kyrtzidis authored
should not impede creating a proper TypeLoc info for the decl-spec. This improves our semantic error recovery. llvm-svn: 152481
-
Argyrios Kyrtzidis authored
Before r151307 this part worked without compiler errors but now it only verifies that our handling of irregular pragmas is broken compared to gcc, it has no practical usefulness; it creates invalid structs that cannot be used for 'offsetof' testing. If we later decide to handle irregular pragmas without compiler errors we can put back this part. llvm-svn: 152480
-
John McCall authored
we correctly emit loads of BlockDeclRefExprs even when they don't qualify as ODR-uses. I think I'm adequately convinced that BlockDeclRefExpr can die. llvm-svn: 152479
-
John McCall authored
llvm-svn: 152478
-
NAKAMURA Takumi authored
llvm-svn: 152476
-
Benjamin Kramer authored
llvm-svn: 152475
-
Eli Friedman authored
llvm-svn: 152470
-
Fariborz Jahanian authored
llvm-svn: 152469
-
Ted Kremenek authored
[analyzer] fix regression in analyzer of NOT actually aborting on Stmts it doesn't understand. We registered as aborted, but didn't treat such cases as sinks in the ExplodedGraph. Along the way, add basic support for CXXCatchStmt, expanding the set of code we actually analyze (hopefully correctly). Fixes: <rdar://problem/10892489> llvm-svn: 152468
-