- Sep 18, 2007
-
-
Ted Kremenek authored
of visiting all block-level statements in a CFG. Tightened implementation of UninitializedValues. llvm-svn: 42106
-
Ted Kremenek authored
llvm-svn: 42105
-
Fariborz Jahanian authored
llvm-svn: 42104
-
Ted Kremenek authored
variable instead of a temporary. llvm-svn: 42102
-
Ted Kremenek authored
with CFG *edges* instead of blocks. This will fascilitate dataflow analyses that are sensitive to block terminators, and also simplifies some reasoning. Updated UninitializedValues to comply to this new interface. llvm-svn: 42099
-
Ted Kremenek authored
within source-level CFGs. llvm-svn: 42098
-
Hartmut Kaiser authored
llvm-svn: 42089
-
Gabor Greif authored
llvm-svn: 42088
-
Fariborz Jahanian authored
Moves such argument as the last argument and uses defaul value. llvm-svn: 42073
-
Hartmut Kaiser authored
llvm-svn: 42072
-
Fariborz Jahanian authored
instead for @protocol method decls. llvm-svn: 42070
-
- Sep 17, 2007
-
-
Ted Kremenek authored
too "conservative"). Several revisions to UninitializedValues checker after testing. We now appear to be working correctly (probably some bugs still, but main functionality appears to be there). Implemented careful emitting of warnings so that we wouldn't get a cascade of warnings for simply not defining a single variable and using it everywhere. This way the warnings point closer to the root cause rather than "symptoms" from using values derived from uninitialized variables. llvm-svn: 42067
-
Steve Naroff authored
llvm-svn: 42063
-
Ted Kremenek authored
llvm-svn: 42062
-
Hartmut Kaiser authored
Fixed a VC++ issue related to bitmasks. As it turns out the compiler fills the unused bits of the word a bitmask is stored in with '1' (or randomly, I can't tell, I've seen '1' so far only), which creates wrong results in certain cases. Please review. llvm-svn: 42061
-
Fariborz Jahanian authored
llvm-svn: 42060
-
Steve Naroff authored
Finish defining Action API for message expressions. llvm-svn: 42059
-
Ted Kremenek authored
llvm-svn: 42057
-
Ted Kremenek authored
llvm-svn: 42056
-
Ted Kremenek authored
globals and function parameters. llvm-svn: 42055
-
Steve Naroff authored
- Refactored ObjcKeywordInfo into ObjcKeywordInfo, ObjcKeywordDecl, and ObjcKeywordMessage. - Removed helper ObjcGetSelectorInfo(), moving the code directly into ObjcBuildMethodDeclaration(). - Many refinements to ParseObjCMessageExpression(). - Add ActOnMessageExpression(). Next step, finish the message actions and (finally) create/instantiate an ObjcMessageExpr AST. llvm-svn: 42050
-
Ted Kremenek authored
for reporting errors and running the checker. llvm-svn: 42046
-
Ted Kremenek authored
llvm-svn: 42041
-
Ted Kremenek authored
mechanism can be implemented simply by affixing the Observer to an analysis meta data, so it doesn't need to be a required type. This also permits analyses not to implement an Observer if it doesn't make sense. Changed "DataflowValues::MetaDataTy" to "DataflowValues::AnalysisDataTy" to reflect that the type enscapsulated the data associated with analyzing a given CFG. Changed CFGStmtVisitor::BlockStmt_VisitImplicitControlFlowStmt(Stmt*) to ...VisitImplicitControlFlowExpr(Expr*). The type narrowing is more precise and more useful to clients. Added CFGStmtVisitor::BlockStmt_VisitExpr to reflect the visitation of expressions at the block statement level. This captures all implicit control-flow statements as well as other expressions that are hoisted to the block level (such as conditions for terminators and function calls). This is especially useful for dataflow analysis. llvm-svn: 42034
-
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
-