- Sep 17, 2007
-
-
Ted Kremenek authored
in the CFG builder logic. llvm-svn: 42033
-
Ted Kremenek authored
to serve as the entry block. An empty entry block (just as with an empty exit block, which we already have) simplifies building analyses on top of CFGs with very little extra overhead. llvm-svn: 42031
-
Ted Kremenek authored
llvm-svn: 42030
-
Steve Naroff authored
llvm-svn: 42028
-
Steve Naroff authored
llvm-svn: 42025
-
Steve Naroff authored
Add support for ObjC keyword selectors. - Add SelectorInfo/SelectorTable classes, modeled after IdentifierInfo/IdentifierTable. - Add SelectorTable instance to ASTContext, created lazily through ASTContext::getSelectorInfo(). - Add SelectorInfo slot to ObjcMethodDecl. - Add helper function to derive a SelectorInfo from ObjcKeywordInfo. Misc: Got the Decl stats stuff up and running again...it was missing support for ObjC AST's. llvm-svn: 42023
-
Hartmut Kaiser authored
llvm-svn: 42022
-
Chris Lattner authored
llvm-svn: 42020
-
- Sep 16, 2007
-
-
Hartmut Kaiser authored
Updated VC++ project files. llvm-svn: 42015
-
Chris Lattner authored
llvm-svn: 42014
-
Chris Lattner authored
llvm-svn: 42013
-
Chris Lattner authored
"The ExpectedStr search was starting at the end of the comment string. This patch starts the search at the beginning of the comment string. After applying this patch, clang -parse-ast-check on negative test case source files worked as expected." llvm-svn: 42012
-
Chris Lattner authored
llvm-svn: 42011
-
Chris Lattner authored
llvm-svn: 42010
-
Chris Lattner authored
Patch by Justin Handville llvm-svn: 42009
-
Chris Lattner authored
llvm-svn: 42007
-
Chris Lattner authored
llvm-svn: 42006
-
Steve Naroff authored
- Allow classnames as the receiver (removing a FIXME from ParseObjCMessageExpression). - Added a FIXME to ParseObjCMessageExpression()...we need to return a message expr AST node! llvm-svn: 42001
-
Steve Naroff authored
llvm-svn: 42000
-
Steve Naroff authored
llvm-svn: 41997
-
Hartmut Kaiser authored
llvm-svn: 41996
-
Hartmut Kaiser authored
llvm-svn: 41995
-
Hartmut Kaiser authored
Silenced a couple of VC++ warnings. llvm-svn: 41994
-
Chris Lattner authored
this eliminates their dependence on the preprocessor and eliminates some duplicated code. llvm-svn: 41993
-
Chris Lattner authored
genericizing them and eliminating boilerplate code. llvm-svn: 41992
-
Chris Lattner authored
Switch -parse-ast over to it. llvm-svn: 41991
-
Chris Lattner authored
llvm-svn: 41990
-
- Sep 15, 2007
-
-
Chris Lattner authored
llvm-svn: 41989
-
Chris Lattner authored
llvm-svn: 41988
-
Steve Naroff authored
Start converting Action methods from Parse-prefix to ActOn-prefix. The previous naming scheme was confusing, since it resulted in both the Parser and Action modules having methods with the same name. In addition, the Action module never does any parsing... llvm-svn: 41986
-
Fariborz Jahanian authored
llvm-svn: 41985
-
Ted Kremenek authored
Analysis/DataflowSolver.h Analysis/UnintializedValues.cpp include/clang/Analysis/CFGVarDeclVisitor.h include/clang/Analysis/DataflowValues.h include/clang/Analysis/UninitializedValues.h llvm-svn: 41974
-
Steve Naroff authored
Rename Action::ParseRecordBody() to ProcessFieldDecls(), and add a visibility argument. Remove Action::ObjcAddVisibilityToIvars(). No need for an extra API when it is trivial to add this info to the previous hook. In general, I want to start migrating away from having Actions prefixed with "Parse" (which is confusing, since the Action API doesn't do any parsing, per se). llvm-svn: 41973
-
Ted Kremenek authored
Preliminary implementation of UninitializedValues, which is based on new solver (doesn't work yet, but compiles). llvm-svn: 41970
-
Steve Naroff authored
Several improvement to Sema::ParseRecordBody()... - Adding a safer prologue. The previous prologue would accept a null and therefore assume we had an interface (which was incorrect). - Fixed FieldDecl's classof method. This allowed me to simplify some unnecessary casting. - When diagnosing errors, make sure the FieldDecl/EnclosingDecl are marked as invalid. In addition, don't delete the field...rather, add all fields to the enclosing decl. Memory management can/should be done elsewhere. This code was never "upgraded" to the recently added invalid decl strategy. llvm-svn: 41964
-
- Sep 14, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 41961
-
Fariborz Jahanian authored
llvm-svn: 41954
-
Steve Naroff authored
Now that the dust has settled on the Decl refactoring, I noticed FieldDecl didn't need NextDeclarator. As a result, I'm removing it. Removing both slots (NextDeclarator/Next) end up reducing the size of fields/ivars by 40%. llvm-svn: 41948
-
Steve Naroff authored
Move Decl::NextDeclarator (w/ setters/getters) down to ScopedDecl/FieldDecl. Decl is now svelte:-) llvm-svn: 41935
-
- Sep 13, 2007
-
-
Steve Naroff authored
Phase 2 of making the Decl class more lightweight... Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl. Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later. llvm-svn: 41934
-