- Jan 04, 2012
-
-
Ted Kremenek authored
Enhance UnixAPIChecker to also warn about zero-sized allocations to calloc() and realloc(). Patch by Cyril Roelandt! llvm-svn: 147500
-
Douglas Gregor authored
Minor tweak to name lookup for C/Objective-C: after the first name, still consider whether this is a redeclaration lookup when determining whether to look for the visible declaration llvm-svn: 147499
-
Douglas Gregor authored
the AST reader doesn't actually perform a merge, because name lookup knows how to merge identical typedefs together. As part of this, teach C/Objective-C name lookup to return multiple results in all cases, rather than first digging through the attributes to see if the value is overloadable. This way, we'll catch ambiguous lookups in C/Objective-C. llvm-svn: 147498
-
Marshall Clow authored
llvm-svn: 147497
-
Eli Friedman authored
llvm-svn: 147496
-
Chad Rosier authored
llvm-svn: 147495
-
Ted Kremenek authored
from C++ constructors or destructors. Checker by Lei Zhang with a few tweaks by Ted Kremenek. llvm-svn: 147494
-
David Chisnall authored
Initialise constant Objective-C string isa pointers with a weak reference to the class, so that they are usable in +load methods if the string class has been compiled with clang - if it's been compiled with GCC, the ABI makes this impossible. (GNU runtimes) llvm-svn: 147493
-
Marshall Clow authored
llvm-svn: 147492
-
Jakob Stoklund Olesen authored
Patch by Andy Zhang! llvm-svn: 147491
-
- Jan 03, 2012
-
-
Fariborz Jahanian authored
attribute. llvm-svn: 147490
-
Chad Rosier authored
llvm-svn: 147489
-
Douglas Gregor authored
that if two modules A and B both contain a declaration of a tag such as struct X; and those two modules are unrelated, the two declarations of X will be merged into a single redeclaration chain. llvm-svn: 147488
-
Jakob Stoklund Olesen authored
This patch caused a miscompilation of oggenc because a frame pointer was suddenly needed halfway through register allocation. <rdar://problem/10625436> llvm-svn: 147487
-
Jakob Stoklund Olesen authored
This can only happen if the set of reserved registers changes during register allocation. <rdar://problem/10625436> llvm-svn: 147486
-
Nadav Rotem authored
llvm-svn: 147485
-
Nadav Rotem authored
llvm-svn: 147484
-
Ted Kremenek authored
llvm-svn: 147483
-
Douglas Gregor authored
llvm-svn: 147482
-
Chad Rosier authored
then a vxorps + vinsertf128 pair if the original vector came from a load. rdar://10594409 llvm-svn: 147481
-
Douglas Gregor authored
llvm-svn: 147480
-
Ted Kremenek authored
llvm-svn: 147479
-
Nick Lewycky authored
if-statement by turning it into an assert. No functionality change. llvm-svn: 147474
-
Abramo Bagnara authored
llvm-svn: 147473
-
Owen Anderson authored
Remove the restriction that target intrinsics can only involve legal types. Targets can perfects well support intrinsics on illegal types, as long as they are prepared to perform custom expansion during type legalization. For example, a target where i64 is illegal might still support the i64 intrinsic operation using pairs of i32's. ARM already does some expansions like this for non-intrinsic operations. llvm-svn: 147472
-
Lang Hames authored
llvm-svn: 147471
-
Stepan Dyatkovskiy authored
llvm-svn: 147470
-
Douglas Gregor authored
llvm-svn: 147469
-
Fariborz Jahanian authored
which should not be default synthesized. llvm-svn: 147468
-
Douglas Gregor authored
modules. This leaves us without an explicit syntax for importing modules in C/C++, because such a syntax needs to be discussed first. In Objective-C/Objective-C++, the @import syntax is used to import modules. Note that, under -fmodules, C/C++ programs can import modules via the #include mechanism when a module map is in place for that header. This allows us to work with modules in C/C++ without committing to a syntax. llvm-svn: 147467
-
Joerg Sonnenberger authored
preprocessor to warn about it. llvm-svn: 147466
-
Matt Beaumont-Gay authored
If anybody has strong feelings about 'default: assert(0 && "blah")' vs 'default: llvm_unreachable("blah")', feel free to regularize the instances of each in this file. llvm-svn: 147459
-
Bob Wilson authored
Patch provided by Ed Schouten! llvm-svn: 147458
-
Fariborz Jahanian authored
attributes for later use. llvm-svn: 147457
-
Eric Christopher authored
llvm-svn: 147456
-
Douglas Gregor authored
to make a macro public (the default for headers) or private, respectively. llvm-svn: 147455
-
Nick Lewycky authored
llvm-svn: 147454
-
Devang Patel authored
llvm-svn: 147453
-
Douglas Gregor authored
@import identifier [. identifier]* ; llvm-svn: 147452
-
Douglas Gregor authored
declarations in the AST unless modules are enabled. This case doesn't come up with precompiled headers, and it isn't cheap. llvm-svn: 147451
-