- Mar 11, 2012
-
-
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
-
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
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
-
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
-
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
-
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
-
Daniel Dunbar authored
- We do this when it is easy to determine that the backend will pass them on the stack properly by itself. Currently LLVM codegen is really bad in some cases with byval, for example, on the test case here (which is derived from Sema code, which likes to pass SourceLocations around):: struct s47 { unsigned a; }; void f47(int,int,int,int,int,int,struct s47); void test47(int a, struct s47 b) { f47(a, a, a, a, a, a, b); } we used to emit code like this:: ... movl %esi, -8(%rbp) movl -8(%rbp), %ecx movl %ecx, (%rsp) ... to handle moving the struct onto the stack, which is just appalling. Now we generate:: movl %esi, (%rsp) which seems better, no? llvm-svn: 152462
-
Fariborz Jahanian authored
llvm-svn: 152461
-
Fariborz Jahanian authored
// rdar://11023563 llvm-svn: 152459
-
Douglas Gregor authored
innermost type. Fixes PR12142. llvm-svn: 152456
-
Richard Smith authored
copy-construction, which Daniel Dunbar reports as giving a 0.75% speedup on 403.gcc/combine.c. The performance differences on my constexpr torture tests are below the noise floor. llvm-svn: 152455
-
Fariborz Jahanian authored
ivars in the modern rewriter. llvm-svn: 152451
-
Ted Kremenek authored
Teach RetainCountChecker about mixing method families with explicit annotations. Fixes <rdar://problem/10824732>. llvm-svn: 152448
-
- Mar 09, 2012
-
-
Richard Smith authored
basic source character set in C++98. Add -Wc++98-compat diagnostics for same in literals in C++11. Extend such support to cover string literals as well as character literals, and mark N2170 as done. This seems too minor to warrant a release note to me. Let me know if you disagree. llvm-svn: 152444
-
Daniel Dunbar authored
actually happened. llvm-svn: 152442
-
Nico Weber authored
llvm-svn: 152441
-
Anna Zaks authored
We do not reanalyze a function, which has already been analyzed as an inlined callee. As per PRELIMINARY testing, this gives over 50% run time reduction on some benchmarks without decreasing of the number of bugs found. Turning the mode on by default. llvm-svn: 152440
-
Anna Zaks authored
llvm-svn: 152439
-
Argyrios Kyrtzidis authored
invalid ParmVarDecls. Part of rdar://11007039. llvm-svn: 152437
-
Argyrios Kyrtzidis authored
When an error made a record member invalid, the record would stay as "isBeingDefined" and not "completeDefinition". Even easily recoverable errors ended up propagating records in such "beingDefined" state, for example: struct A { ~A() const; // expected-error {{'const' qualifier is not allowed on a destructor}} }; struct B : A {}; // A & B would stay as "not complete definition" and "being defined". This weird state was impending lookups in the records and hitting assertion in the ASTWriter. Part of rdar://11007039 llvm-svn: 152432
-