- Nov 23, 2007
-
-
Chris Lattner authored
test/CodeGen/global-with-initialiser.c Patch by Oliver Hunt! llvm-svn: 44290
-
Anders Carlsson authored
llvm-svn: 44289
-
Chris Lattner authored
Neil, please review this fix. llvm-svn: 44285
-
- Nov 22, 2007
-
-
Anders Carlsson authored
Store output and input operands as well as clobber information in the AsmStmt. Ted, could you please review the serialization/deserialization code? llvm-svn: 44266
-
Anders Carlsson authored
llvm-svn: 44265
-
- Nov 20, 2007
-
-
Anders Carlsson authored
llvm-svn: 44255
-
Anders Carlsson authored
llvm-svn: 44254
-
Chris Lattner authored
llvm-svn: 44253
-
Ted Kremenek authored
block-level expressions are evaluated the same as regular expressions. Test case provided by Nuno Lopes. llvm-svn: 44247
-
Ted Kremenek authored
"block-expressions" when visiting arbitrary expressions (via calls to "Visit()"). This results in a refactoring where a dataflow analysis no longer needs to always special case when handling block-expressions versus non-block expressions. Updated LiveVariables and UninitializedValues to conform to the slightly altered interface of these visitor classes. Thanks to Nuno Lopes for providing a test case that illustrated some fundamental problems in the current design of the CFGXXXStmtVisitor classes and how they were used. llvm-svn: 44246
-
- Nov 19, 2007
-
-
Ted Kremenek authored
and ImmutableSet classes in the main LLVM libraries. llvm-svn: 44237
-
Ted Kremenek authored
for correct propagation/update of liveness information within subexpressions of Block-Level expressions. Test case provided by Nuno Lopes. llvm-svn: 44225
-
Ted Kremenek authored
state that occurred in subexpressions of Block-Level expressions. Bug and fix provided by Nuno Lopes. llvm-svn: 44224
-
Anders Carlsson authored
llvm-svn: 44222
-
- Nov 18, 2007
-
-
Ted Kremenek authored
llvm-svn: 44221
-
Ted Kremenek authored
the StmtIterator referring to the initializers of a chain of Decls was equal to the "end" iterator. The particular bug manifested when an iterator was created on a chain of decls with no initializers. Thanks to Nuno Lopes for reporting this bug and providing a patch. llvm-svn: 44220
-
- Nov 17, 2007
-
-
Steve Naroff authored
Now that we are passing back "free standing decls", make sure -ast-dump works like -ast-print. Also added a cast to be safe... llvm-svn: 44209
-
Steve Naroff authored
Make sure Sema::ParsedFreeStandingDeclSpec() returns a decl representing the type. Adding basic printing to StmtPrinter::PrintRawDecl(). llvm-svn: 44208
-
- Nov 16, 2007
-
-
Ted Kremenek authored
own the decl they reference if it is a FunctionDecl. Note that his ownership property is still considered a hack, and should be fixed. llvm-svn: 44192
-
Ted Kremenek authored
query for the number of parameters for FunctionDecls that had type FunctionTypeNoProto. llvm-svn: 44191
-
Chris Lattner authored
This fixes a bug reported by Seo Sanghyeon. This was meant to be committed yesterday, but the commit failed. doh. llvm-svn: 44190
-
- Nov 15, 2007
-
-
Chris Lattner authored
llvm-svn: 44180
-
Chris Lattner authored
llvm-svn: 44179
-
Chris Lattner authored
llvm-svn: 44178
-
Ted Kremenek authored
Some FunctionDecls do not appear at the top-level or are owned by a DeclStmt. In calls to implicitly defined functions, a FunctionDecl is created, but only the DeclRefExprs reference them. Since an implicitly defined function may be called multiple times, there is no clear ownership model for such objects. Temporary solution: when serializing out DeclRefExprs, emit an ownership bit for the Decl. This bit is determined by querying the serializer to see if the Decl has already been serialized. If it hasn't, emit the Decl as an owned pointer. I repeat: this is a hack. This should be fixed. llvm-svn: 44176
-
Ted Kremenek authored
Added missing deserialization case in Stmt::Create() switch statement. llvm-svn: 44175
-
Steve Naroff authored
No need to forward declare definition of objc_super... llvm-svn: 44173
-
Steve Naroff authored
Finish up variadic methods/messages. llvm-svn: 44172
-
Steve Naroff authored
Implement support for variadic methods (work in progress). llvm-svn: 44171
-
Steve Naroff authored
Extend RewriteTest::RewriteObjCIvarRefExpr() to cope with static typing (when using -> on a type which corresponds to the implementation type). llvm-svn: 44170
-
Steve Naroff authored
Tweak funky cast to accommodate messaging 'super'. This removes any spurious warnings. llvm-svn: 44169
-
Steve Naroff authored
Rewrite for messaging 'super'. The code gen. results in some spurious warnings...a cast is forthcoming. llvm-svn: 44168
-
Nate Begeman authored
llvm-svn: 44164
-
Nate Begeman authored
llvm-svn: 44160
-
Chris Lattner authored
This fixes code like "if((bool)x) {}" for example. Patch by Nate Begeman. llvm-svn: 44159
-
Steve Naroff authored
- Implement ivar rewrite (patch by Fariborz). - RewriteMessageExpr()...make implicit casts explicit with synthesizing call (removing warnings when calling objc_msgSend()). llvm-svn: 44156
-
Steve Naroff authored
Refinement to previous commit. Always cast the first argument to "id"...no need to special case self. llvm-svn: 44149
-
Steve Naroff authored
Cast implicit "self" argument to "id". This removes all warnings associated with implicit references to self. It doesn't yet deal withexplicit references to self... llvm-svn: 44148
-
Ted Kremenek authored
"default constructed" an APSInt. Fixed another bug in the same method where we did not allow the NextDeclarator to be NULL. llvm-svn: 44147
-
Ted Kremenek authored
qualifiers as part of the pointer address. llvm-svn: 44146
-