- Mar 14, 2011
-
-
Rafael Espindola authored
is working around a bug in ld or if the new linker has a reasonable reason for wanting the string constant to be linker visible. llvm-svn: 127594
-
Douglas Gregor authored
-literal to char* conversion. Make it so. llvm-svn: 127586
-
Fariborz Jahanian authored
be more speciaclized than that of the initializer, when matching protocol qualifier list. // rdar:// 9118343. llvm-svn: 127585
-
Douglas Gregor authored
llvm-svn: 127583
-
Douglas Gregor authored
llvm-svn: 127582
-
David Chisnall authored
llvm-svn: 127580
-
Anders Carlsson authored
llvm-svn: 127573
-
- Mar 13, 2011
-
-
Anders Carlsson authored
Add an Objective-C checker that checks that arguments passed to some variadic Objective-C methods are of Objective-C pointer types. Ted or Argiris, I'd appreciate a review! llvm-svn: 127572
-
Sebastian Redl authored
Instead of storing an ASTContext* in FunctionProtoTypes with computed noexcept specifiers, unique FunctionProtoTypes with a ContextualFoldingSet, as suggested by John McCall. llvm-svn: 127568
-
Ted Kremenek authored
Fix CFG assertion failure reported in PR 9467. This was due to recent changes in optimizing CFGs for switch statements. llvm-svn: 127563
-
- Mar 12, 2011
-
-
Fariborz Jahanian authored
method prototypes under the -Wduplicate-method-arg and turn it off by default. llvm-svn: 127552
-
Sebastian Redl authored
It is only meant for the release branch. llvm-svn: 127544
-
Sebastian Redl authored
llvm-svn: 127543
-
Sebastian Redl authored
It is only meant for the release branch. llvm-svn: 127542
-
Sebastian Redl authored
llvm-svn: 127541
-
Ken Dyck authored
No change in functionality intended. llvm-svn: 127538
-
Sebastian Redl authored
Change the interface to expose the new information and deal with the enormous fallout. Introduce the new ExceptionSpecificationType value EST_DynamicNone to more easily deal with empty throw specifications. Update the tests for noexcept and fix the various bugs uncovered, such as lack of tentative parsing support. llvm-svn: 127537
-
Abramo Bagnara authored
llvm-svn: 127536
-
Abramo Bagnara authored
llvm-svn: 127534
-
Ted Kremenek authored
Re-enable the IdempotentOperations checker for --analyze, and put it and the DeadStores checker into the "deadcode" group. llvm-svn: 127531
-
Ted Kremenek authored
llvm-svn: 127528
-
Ted Kremenek authored
This checker was created by Jim Goodnow II, and I migrated it to the new Checker interface (recent changes by Argiris). llvm-svn: 127525
-
Ted Kremenek authored
llvm-svn: 127524
-
Ted Kremenek authored
llvm-svn: 127523
-
Douglas Gregor authored
should be resolvable, from Faisal Vali! llvm-svn: 127521
-
Douglas Gregor authored
enumeration type to another in C, classify enumeration constants as if they had the type of their enclosing enumeration. Fixes <rdar://problem/9116337>. llvm-svn: 127514
-
Ken Dyck authored
functionality intended. llvm-svn: 127513
-
Douglas Gregor authored
unless we already know that it has a definition. Fixes PR9449/<rdar://problem/9115785>. llvm-svn: 127512
-
Douglas Gregor authored
headers, which use C++0x generalized initializer lists. Per PR7069, it appears that the only use is as the return type of a function, so this commit enables this extension just in that narrow case. If it's enough for libstdc++ 4.5, or if it can be trivially extended to work with libstdc++ 4.5, we'll keep it. Otherwise, or if this breaks anything, we'll revert and wait for the real feature. llvm-svn: 127507
-
- Mar 11, 2011
-
-
John McCall authored
llvm-svn: 127494
-
Peter Collingbourne authored
without cl_khr_fp64, warn and cast to single precision llvm-svn: 127476
-
Peter Collingbourne authored
extending the existing support for sizeof and alignof. Original patch by Guy Benyei. llvm-svn: 127475
-
Rafael Espindola authored
in conversion functions. llvm-svn: 127460
-
John McCall authored
pointer instead of the other operand. llvm-svn: 127458
-
Ken Dyck authored
avoid converting to bits and back again. No change in functionality intended. llvm-svn: 127455
-
Ken Dyck authored
parameter to tidy up the places where the expression is a size. llvm-svn: 127454
-
- Mar 10, 2011
-
-
Ted Kremenek authored
Profiling showed that 'CheckImplicitConversions' was very slow because of the call to getSpellingLoc(). On 'aes.c' in the LLVM test suite, this function was consuming 7.4% of -fsyntax-only time. This change fixes this issue by delaying the check that the warning would be issued within a system macro by as long as possible. The main negative of this change is now the logic for this check is done in multiple places in this function instead of just in one place up front. llvm-svn: 127425
-
NAKAMURA Takumi authored
lib/CodeGen/CGCall.cpp: Don't invoke multiple Builder.CreateBitCast() on Builder.CreateMemCpy. Or we would see sideeffect incompatibility among gcc and clang. llvm-svn: 127405
-
Abramo Bagnara authored
llvm-svn: 127404
-
Abramo Bagnara authored
llvm-svn: 127401
-