- Dec 19, 2011
-
-
Douglas Gregor authored
into operations on TypedefNameDecl. No functionality change. llvm-svn: 146866
-
David Chisnall authored
The integral types now work with clang trunk (if you remove the guard), although we're still missing an intrinsic for initialising atomics (needed for C1x too). Howard: Please review. llvm-svn: 146865
-
Manuel Klimek authored
llvm-svn: 146864
-
Manuel Klimek authored
llvm-svn: 146863
-
Craig Topper authored
llvm-svn: 146862
-
Dylan Noblesmith authored
Forming an out of bounds pointer to check if it's out of bounds was undefined behavior. llvm-svn: 146861
-
Chris Lattner authored
llvm-svn: 146859
-
Craig Topper authored
llvm-svn: 146857
-
Richard Smith authored
variable is initialized by a non-constant expression, and pass in the variable being declared so that earlier-initialized fields' values can be used. Rearrange VarDecl init evaluation to make this possible, and in so doing fix a long-standing issue in our C++ constant expression handling, where we would mishandle cases like: extern const int a; const int n = a; const int a = 5; int arr[n]; Here, n is not initialized by a constant expression, so can't be used in an ICE, even though the initialization expression would be an ICE if it appeared later in the TU. This requires computing whether the initializer is an ICE eagerly, and saving that information in PCH files. llvm-svn: 146856
-
Craig Topper authored
Begin adding AVX2 intrinsics. Necessitated increasing the number of bits used to store builtinID when serializing identifier table. llvm-svn: 146855
-
- Dec 18, 2011
-
-
Jakub Staszak authored
- Remove trailing spaces. llvm-svn: 146854
-
Howard Hinnant authored
llvm-svn: 146853
-
Benjamin Kramer authored
llvm-svn: 146852
-
Joerg Sonnenberger authored
attribute themselve. llvm-svn: 146851
-
Benjamin Kramer authored
Some compilers were complaining about passing StringRef to it. llvm-svn: 146850
-
Dylan Noblesmith authored
And fix the double-[]. It was including the [] as part of the project name somehow, resulting in PACKAGE_TARNAME "-llvm-" and a strange docdir default: ./configure --help | grep docdir --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-] llvm-svn: 146849
-
Dylan Noblesmith authored
llvm-svn: 146848
-
Benjamin Kramer authored
llvm-svn: 146847
-
Benjamin Kramer authored
llvm-svn: 146846
-
Dylan Noblesmith authored
Show how to actually use the arguments it has. llvm-svn: 146845
-
Michael J. Spencer authored
llvm-svn: 146844
-
Richard Smith authored
floating literal value does not fit into the destination type. Such casts have undefined behavior at translation time; treating them as non-ICE matches the behavior of modern gcc versions. llvm-svn: 146842
-
Douglas Gregor authored
chains. The previous implementation relied heavily on the declaration chain being stored as a (circular) linked list on disk, as it is in memory. However, when deserializing from multiple modules, the different chains could get mixed up, leading to broken declaration chains. The new solution keeps track of the first and last declarations in the chain for each module file. When we load a declaration, we search all of the module files for redeclarations of that declaration, then splice together all of the lists into a coherent whole (along with any redeclarations that were actually parsed). As a drive-by fix, (de-)serialize the redeclaration chains of TypedefNameDecls, which had somehow gotten missed previously. Add a test of this serialization. This new scheme creates a redeclaration table that is fairly large in the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The table is mmap'd in and searched via a binary search, but it's still quite large. A future tweak will eliminate entries for declarations that have no redeclarations anywhere, and should drastically reduce the size of this table. llvm-svn: 146841
-
Chandler Carruth authored
especially nice as the Windows toolchain needs the windows header files, and has lots of platform specific hooks in it. To facilitate the split, hoist a bunch of file-level static helpers into class-level static helpers. Spiff up their doxygen comments while there as they're now more likely to be looked up via docs. Hopefully, this will be followed by further breaking apart of the toolchain definitions. Most of the large and complex ones should likely live on their own. I'm looking at you Darwin. ;] llvm-svn: 146840
-
- Dec 17, 2011
-
-
Chandler Carruth authored
have this warning. llvm-svn: 146839
-
Chad Rosier authored
internal nightly testers. Original commit message: By popular demand, link up types by name if they are isomorphic and one is an autorenamed version of the other. This makes the IR easier to read, because we don't end up with random renamed versions of the types after LTO'ing a large app. llvm-svn: 146838
-
Chandler Carruth authored
flags on MIPS paltforms. llvm-svn: 146837
-
Ted Kremenek authored
llvm-svn: 146836
-
Craig Topper authored
llvm-svn: 146835
-
Kevin Enderby authored
Hope I did this correctly :) llvm-svn: 146834
-
Craig Topper authored
llvm-svn: 146833
-
Benjamin Kramer authored
llvm-svn: 146831
-
NAKAMURA Takumi authored
It had been causing test "Misc/diag-verify.cpp" failure on ms cl.exe. The emission was ordered unexpectedly as below; First) error: 'error' diagnostics seen but not expected: Second) error: 'error' diagnostics expected but not seen: llvm-svn: 146830
-
Michael J. Spencer authored
llvm-svn: 146829
-
Michael J. Spencer authored
llvm-svn: 146828
-
Chandler Carruth authored
make VariadicFunction actually be trivial. Do so, and also make it look more like your standard trivial functor by making it a struct with no access specifiers. The unit test is updated to initialize its functors properly. llvm-svn: 146827
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 146825
-
Argyrios Kyrtzidis authored
over them because more interesting decls can be added during body deserialization. Should fix msvc build tests. llvm-svn: 146824
-
Pete Cooper authored
SimplifyCFG now predicts some conditional branches to true or false depending on previous branch on same comparison operands. For example, if (a == b) { if (a > b) // this is false Fixes some of the issues on <rdar://problem/10554090> llvm-svn: 146822
-
Manuel Klimek authored
llvm-svn: 146821
-