- Dec 02, 2007
-
-
Chris Lattner authored
llvm-svn: 44505
-
Chris Lattner authored
llvm-svn: 44504
-
Chris Lattner authored
llvm-svn: 44503
-
Chris Lattner authored
llvm-svn: 44502
-
Chris Lattner authored
t.c:3322:5: warning: cannot codegen this yet __asm__ ("bswap %0" : "+r" (_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ instead of: Unimplemented stmt! (AsmStmt 0x80eaa0 <t.c:3331:5, line:3334:28>) llvm-svn: 44501
-
Chris Lattner authored
llvm-svn: 44500
-
Chris Lattner authored
llvm-svn: 44499
-
Chris Lattner authored
rewriter emit this error if it fails to rewrite an @encode: t.m:17:9: error: rewriter could not replace sub-expression due to macros c = ENC(char *)[2] + 4; ^~~~~~~~~~~ ... where ENC is: #define ENC @encode llvm-svn: 44498
-
Oliver Hunt authored
among other things. Also change a codegen warning to dump to stderr so it doesn't mess with -emit-llvm output llvm-svn: 44497
-
Chris Lattner authored
llvm-svn: 44496
-
Oliver Hunt authored
We now use the CodeGenModule logic for generating the constant initialiser expression, so happily further initialiser fixes should automatically work for statics as well. llvm-svn: 44495
-
- Dec 01, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 44492
-
Chris Lattner authored
llvm-svn: 44491
-
Christopher Lamb authored
llvm-svn: 44490
-
Christopher Lamb authored
name if a tag type name is not available for the type. This matches how llvm-gcc chooses CodeGen type names. This means that "typedef struct {...} foo" now results in a CodeGen name of "struct.foo" rather than "struct." llvm-svn: 44489
-
Seo Sanghyeon authored
llvm-svn: 44488
-
Chris Lattner authored
LHS and RHS both have side effects. llvm-svn: 44486
-
Chris Lattner authored
llvm-svn: 44485
-
Chris Lattner authored
llvm-svn: 44484
-
Ted Kremenek authored
pointer of MultiKeywordSelectors. Added optimization to the serialization of SelectorTable where we only serialize out MultiKeywordSelectors that are ever referenced by an object other than the SelectorTable. llvm-svn: 44483
-
- Nov 30, 2007
-
-
Chris Lattner authored
that are builtin and those that are aren't. This is a bunch of API refactoring that will make this possible, but there is no functionality change yet. llvm-svn: 44473
-
Anders Carlsson authored
llvm-svn: 44472
-
Ted Kremenek authored
Modified serialization of IdentifierTable to self-register itself with the Deserializer. llvm-svn: 44471
-
Chris Lattner authored
llvm-svn: 44468
-
Anders Carlsson authored
llvm-svn: 44463
-
Anders Carlsson authored
GCC has an extension where the left hand side of the ? : operator can be omitted. Handle this in a few more places. llvm-svn: 44462
-
Anders Carlsson authored
llvm-svn: 44459
-
Chris Lattner authored
by Seo Sanghyeon llvm-svn: 44455
-
Chris Lattner authored
llvm-svn: 44454
-
Chris Lattner authored
llvm-svn: 44453
-
Christopher Lamb authored
llvm-svn: 44450
-
Anders Carlsson authored
llvm-svn: 44449
-
Steve Naroff authored
Yesterday, I simplified how we stream top-level decls. After a discussion with Ted, we both came to the conclusion that adding a "HandleTopLevelDeclaration" hook to ASConsumer is far more elegant. The default implementation of HandleTopLevelDeclaration will be responsible for iterating over the ScopedDecl (which has a chain of the decls:-). TODO: Once Ted adds HandleTopLevelDeclaration, make sure TagDecls are chainged appropriately... llvm-svn: 44445
-
Ted Kremenek authored
be the new hook that ASTStreamer calls to feed top-level Decls to ASTConsumers. The difference between "HandleTopLevelDeclaration" and "HandleTopLevelDecl" is that "HandleTopLevelDecl" is currently called by ASTStreamer for every top-level declaration, including those that appear within a Decl chain. Using the new interface, ASTStreamer would only call HandleTopLevelDeclaration for Decls that appear that the beginning of a Decl chain (i.e., a group of related decls). To preserve the behavior that all subclasses of ASTConsumer currently expect, the default implementation of HandleTopLevelDeclaration simply calls HandleTopLevelDecl, and for decl chains it calls HandleTopLevelDecl for each Decl* in a chain of Decls. The advantage of this interface is that some subclasses of ASTConsumer only really want the Decl chain, and not each individual Decl passed to them. This extra level of indirection allows subclasses to override the default behavior if they so desire. llvm-svn: 44444
-
- Nov 29, 2007
-
-
Christopher Lamb authored
Update the initializer's type, in addition to the decl, if we've changed the type of the decl based on it. llvm-svn: 44440
-
Ted Kremenek authored
test suite. llvm-svn: 44439
-
Ted Kremenek authored
llvm-svn: 44438
-
Christopher Lamb authored
Support floating point literals of the form "1e-16f" which specify an exponent but no decimal point. llvm-svn: 44431
-
Ted Kremenek authored
both before and after serialization/deserialization. If the CFGs between the pre- and post- serialized/deserialized ASTs differ, the serialization has failed. llvm-svn: 44429
-
Ted Kremenek authored
Removed redundant test case. llvm-svn: 44426
-