- Jul 11, 2011
-
-
Jay Foad authored
llvm-svn: 134888
-
Evan Cheng authored
llvm-svn: 134885
-
- Jul 10, 2011
-
-
John McCall authored
llvm-svn: 134880
-
Francois Pichet authored
Solution is to set output stdout to binary mode to prevent newline conversion (\n => \r\n). llvm-svn: 134879
-
Joerg Sonnenberger authored
llvm-svn: 134877
-
Argyrios Kyrtzidis authored
llvm-svn: 134876
-
Argyrios Kyrtzidis authored
llvm-svn: 134875
-
NAKAMURA Takumi authored
llvm-svn: 134874
-
NAKAMURA Takumi authored
llvm-svn: 134873
-
NAKAMURA Takumi authored
tools/c-arcmt-test/Makefile: Add clangARCMigrate.a clangRewrite.a to USEDLIBS to satisfy linking on cygming. FIXME: tools/c-*.exe should be linked to clang.dll on cygming. llvm/Makefile.rules is not aware of bin/clang.dll. llvm-svn: 134871
-
Chris Lattner authored
llvm-svn: 134870
-
Francois Pichet authored
llvm-svn: 134869
-
Chris Lattner authored
is called whenever a tag type is completed. We previously used that as the sign to layout the codegen representation for the tag type, which worked but meant that we laid out *every* completed type, whether it was used or not. Now we just lay out the type if we've already seen it somehow else. This means that we lay out types we've used but haven't seen a body for, but we don't lay out tons of stuff that noone cares about. llvm-svn: 134866
-
Chris Lattner authored
us to revert the other half of r134860. Now things are back to a relatively tidy state. llvm-svn: 134865
-
Chris Lattner authored
llvm-svn: 134864
-
Chris Lattner authored
caused us to skip layout out a function accurately. If so, flush the type cache for both the function and struct case to ensure that any pointers to the functions get recomputed. This is overconservative, but with this patch clang can build itself again. llvm-svn: 134863
-
Chris Lattner authored
type, even when in the struct case. This was one root issue that was causing type mismatches throughout the compiler. llvm-svn: 134862
-
Chris Lattner authored
conservative when converting a functiontype to IR when in a "pointer within a struct" context. This has the unfortunate sideeffect of compiling all function pointers inside of structs into "{}*" which, though correct, is ugly. This has the positive side effect of being correct, and it is pretty straight-forward to improve on this. llvm-svn: 134861
-
Chris Lattner authored
do an explicit bitcast to whatever ConvertType produces. This will go with the next patch. llvm-svn: 134860
-
NAKAMURA Takumi authored
llvm-svn: 134859
-
Chris Lattner authored
llvm-svn: 134855
-
Chris Lattner authored
it is a predicate, not an action. Change the return type to be a bool, not the incomplete member. Enhace it to detect the recursive compilation case, allowing us to compile Eli's testcase on llvmdev: struct T { struct T (*p)(void); } t; into: %struct.T = type { {}* } @t = common global %struct.T zeroinitializer, align 8 llvm-svn: 134853
-
NAKAMURA Takumi authored
llvm-svn: 134851
-
Argyrios Kyrtzidis authored
llvm-svn: 134849
-
Argyrios Kyrtzidis authored
llvm-svn: 134848
-
- Jul 09, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 134847
-
Argyrios Kyrtzidis authored
in the first place. http://llvm.org/PR10312. llvm-svn: 134845
-
Argyrios Kyrtzidis authored
This is a new mode of migration, where we avoid modifying the original files but we emit temporary files instead. <path> will be used to keep migration process metadata. Currently the temporary files that are produced are put in the system's temp directory but we can put them in the <path> if is necessary. Also introduce new ARC migration functions in libclang whose only purpose, currently, is to accept <path> and provide pairs of original file/transformed file to map from the originals to the files after transformations are applied. Finally introduce the c-arcmt-test utility that exercises the new libclang functions, update arcmt-test, and add tests for the whole process. rdar://9735086. llvm-svn: 134844
-
Chris Lattner authored
the enum has already been converted. If not, there cannot be any types built on top of it, so there is no need to flush the cache. llvm-svn: 134841
-
Chris Lattner authored
llvm-svn: 134840
-
Chris Lattner authored
llvm-svn: 134831
-
John McCall authored
expecting so much concentrated oddity on what seemed like a trivial feature. Thanks to François Pichet for doing the MSVC legwork here. llvm-svn: 134813
-
Evan Cheng authored
llvm-svn: 134811
-
Chris Lattner authored
llvm-svn: 134808
-
Evan Cheng authored
llvm-svn: 134797
-
John McCall authored
llvm-svn: 134785
-
John McCall authored
- Emit default-initialization of arrays that were partially initialized with initializer lists with a loop, rather than emitting the default initializer N times; - support destroying VLAs of non-trivial type, although this is not yet exposed to users; and - support the partial destruction of arrays initialized with initializer lists when an initializer throws an exception. llvm-svn: 134784
-
Eli Friedman authored
llvm-svn: 134774
-
Eli Friedman authored
Note that because we don't usually touch the MMX registers anyway, all -mno-mmx needs to do is tweak the x86-32 calling convention a little for vectors that look like MMX vectors, and prevent the definition of __MMX__. clang doesn't actually stop the user from using MMX inline asm operands or MMX builtins in -mno-mmx mode; as a QOI issue, it would be nice to diagnose, but I doubt it really matters much. <rdar://problem/9694837> llvm-svn: 134770
-
Bruno Cardoso Lopes authored
llvm-svn: 134765
-