- Feb 28, 2012
-
-
Argyrios Kyrtzidis authored
depth and error if we exceed a max value, to make sure we avoid a stack overflow. This is a hacky temporary fix. rdar://10913206. llvm-svn: 151585
-
- Feb 27, 2012
-
-
Ted Kremenek authored
After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035. llvm-svn: 151579
-
Sebastian Redl authored
llvm-svn: 151577
-
Ted Kremenek authored
llvm-svn: 151573
-
Anna Zaks authored
As in http://llvm.org/docs/ProgrammersManual.html#Statistic llvm-svn: 151570
-
Eli Friedman authored
Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>. llvm-svn: 151569
-
Argyrios Kyrtzidis authored
to make it more widely available. Depends on llvm commit r151564 llvm-svn: 151566
-
Sebastian Redl authored
Convert initializer lists to temporaries in CreateBuiltinBinOp. Allows assignment of init lists to built-in types and resolves PR12088. llvm-svn: 151551
-
-
Argyrios Kyrtzidis authored
llvm-svn: 151548
-
Benjamin Kramer authored
MSVC < 10 still has the signed enum bitfield bug, making the top bit unusable. llvm-svn: 151545
-
Richard Smith authored
in r151494. llvm-svn: 151544
-
Chad Rosier authored
being emitted at -O0, but are emitted when optimizations are enabled. llvm-svn: 151533
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 151527
-
Eric Christopher authored
Fixes rdar://10934887 llvm-svn: 151519
-
Eric Christopher authored
llvm-svn: 151518
-
Richard Smith authored
default constructor of a union if it has a const member with no user-provided default constructor. llvm-svn: 151516
-
Richard Smith authored
decltype expression. llvm-svn: 151515
-
Richard Smith authored
llvm-svn: 151509
-
Richard Smith authored
If the assignment operator is a scalar type, we continue to incorrectly reject the initializer, but semantic analysis (and codegen) is correct for overloaded operators. llvm-svn: 151508
-
- Feb 26, 2012
-
-
Gregory Szorc authored
llvm-svn: 151504
-
Benjamin Kramer authored
There's more potential here, but these Exprs aren't used that often so I don't feel like doing heroic bit packing right now. -8 bytes on every class changed (x86_64). llvm-svn: 151501
-
Benjamin Kramer authored
Apply the inheritance-padding trick to FloatingLiteral. Shrinks CharacterLiteral from 32 to 24 bytes and the other two from 40 to 32 bytes (x86_64). llvm-svn: 151500
-
Benjamin Kramer authored
Inheritance allows us to use padding across classes. 40 -> 32 bytes on x86_64. llvm-svn: 151499
-
Benjamin Kramer authored
48 -> 40 bytes on x86_64. llvm-svn: 151498
-
Benjamin Kramer authored
56 -> 48 bytes on x86_64. llvm-svn: 151497
-
Benjamin Kramer authored
48 -> 40 bytes on x86_64. llvm-svn: 151496
-
Benjamin Kramer authored
40 -> 32 bytes on x86_64. llvm-svn: 151495
-
Benjamin Kramer authored
llvm-svn: 151494
-
Benjamin Kramer authored
Move FullSourceLoc::dump into the .cpp file, the used attribute made us emit this into every TU that includes SourceLocation.h. llvm-svn: 151493
-
Benjamin Kramer authored
llvm-svn: 151491
-
Benjamin Kramer authored
Turns out this can be .exe or .EXE, depending on the build system. llvm-svn: 151490
-
Richard Smith authored
non-trivial. llvm-svn: 151486
-
Chandler Carruth authored
r151482 and r151484 to work. Sorry about the fallout... llvm-svn: 151485
-
Chandler Carruth authored
Debian multiarch libraries, this should in theory add support for those platform's header search rules. I don't have a system to check this with, so review appreciated. I've added the corresponding tests referring to the debian multiarch tree. We are starting to have a relatively completely tested Linux platform for header search and library search, with several interesting peculiarities. We should point people at the debian_multiarch_tree when suggesting new tests. Folks with Debian systems that can check this for correctness, it would be much appreciated. The missing chunks I know of are testing bi-arch peudo-cross-compiling toolchains betwen 32-bit and 64-bit variants of platforms, and the MIPS and ARM Debian toolchains. llvm-svn: 151484
-
Richard Smith authored
- variant members with nontrivial destructors make the containing class's destructor deleted - check for a virtual destructor after checking for overridden methods in the base class(es) - check for an inaccessible operator delete for a class with a virtual destructor. Do not try to call an anonymous union field's destructor from the destructor of the containing class. llvm-svn: 151483
-
Chandler Carruth authored
Patch from Michel Dänzer, sent our way via Jeremy Huddleston who added 64-bit support. I just added one other place where powerpc64-linux-gnu was missing (we only had powerpc64-unknown-linux-gnu). I've also added a tree to test out the debian multiarch stuff. I don't use debian regularly, so I'm not certain this is entirely accurate. If anyone wants to check it against a debian system and fix any inaccuracies, fire away. This way at least folks can see how this is *supposed* to be tested. It'd be particularly good to get the Debian MIPS toolchains tested in this way. llvm-svn: 151482
-
Richard Smith authored
llvm-svn: 151478
-
Richard Smith authored
generalized initializers is available. llvm-svn: 151477
-
Richard Smith authored
trivial if the implicit declaration would be. Don't forget to set the Trivial flag on the special member as well as on the class. It doesn't seem ideal that we have two separate mechanisms for storing this information, but this patch does not attempt to address that. This leaves us in an interesting position where the has_trivial_X trait for a class says 'yes' for a deleted but trivial X, but is_trivially_Xable says 'no'. This seems to be what the standard requires. llvm-svn: 151465
-