- Sep 11, 2007
-
-
Ted Kremenek authored
llvm-svn: 41848
-
Gabor Greif authored
warnings that some compilers diagnose llvm-svn: 41847
-
Ted Kremenek authored
llvm-svn: 41814
-
Steve Naroff authored
Fix the following bug submitted by Justin Handville. int main(int argc, char* argv[]) { return 0; } After speaking briefly with Chris, we decided this should be a front-end fix. The fix...have Sema::GetTypeForDeclarator() do the default function/array conversion, as I outlined in the 9/9 email on this topic. Since this conversion is done before Sema::ParseParamDeclarator(), I thought I could remove the conversion from Sema::ParseParamDeclarator(). Unfortunately, this didn't work. The conversion apparently needs to be done in both places (which doesn't make sense to me). Will investigate. llvm-svn: 41811
-
- Sep 10, 2007
-
-
Steve Naroff authored
llvm-svn: 41803
-
Fariborz Jahanian authored
class object. llvm-svn: 41801
-
Ted Kremenek authored
that refer to direct function calls. Modified interface of LiveVariables to only track liveness of VarDecls. This cleans up a bunch of edge cases, and removed the bug just mentioned. llvm-svn: 41797
-
Ted Kremenek authored
llvm-svn: 41796
-
Ted Kremenek authored
refers to a function. llvm-svn: 41795
-
Ted Kremenek authored
"Audit" to "Observer" and "Observe" llvm-svn: 41794
-
- Sep 08, 2007
-
-
Chris Lattner authored
llvm-svn: 41783
-
Ted Kremenek authored
for each function. This was the behavior prior to the following patch: http://llvm.org/viewvc/llvm-project?view=rev&revision=41779 llvm-svn: 41780
-
Ted Kremenek authored
"CFGVisitor", which now handles all the boilerplate for iterating over the function definitions in a translation unit and building the CFGs. This logic was previously replicated for each driver option that used CFGs. The options -dump-cfg, -view-cfg, -check-dead-stores, and -dump-live-variables now use this refactored code. llvm-svn: 41779
-
- Sep 07, 2007
-
-
Hartmut Kaiser authored
Silenced a couple of warnings. Added *.vcproj file for new clangAnalysis library. Renamed Basic to clangBasic projects. llvm-svn: 41767
-
Ted Kremenek authored
but never used. Fix a bug in LiveVariables where uses on the LHS of self-assign operators (e.g +=, *=, etc) would not be properly recorded in the liveness state of the variable. llvm-svn: 41757
-
Ted Kremenek authored
that contained no declarations, or when a variable is declared but never used. llvm-svn: 41756
-
Ted Kremenek authored
llvm-svn: 41755
-
Ted Kremenek authored
to variables that are no longer live. This analysis is built on top of CFGs and the LiveVariables analysis. changes to driver: added driver option "-check-dead-stores" to run the analysis llvm-svn: 41754
-
- Sep 06, 2007
-
-
Ted Kremenek authored
- Finished 99% of analysis logic. Probably a few bugs. - Added querying functions to query liveness. - Added better pretty printing of liveness. - Added better bookkeeping of per-variable liveness information. - Added LiveVariablesAuditor interface, which allows "lazy" querying of intra-basic block liveness information. Driver: - Minor cleanups involved in dumping liveness information. llvm-svn: 41753
-
Steve Naroff authored
The goal of this commit is to get just enough Sema support to recognize Objective-C classes as types. That said, the AST nodes ObjcInterfaceDecl, ObjcInterfaceType, and ObjcClassDecl are *very* preliminary. The good news is we no longer need -parse-noop (aka MinimalActions) to parse cocoa.m. llvm-svn: 41752
-
Ted Kremenek authored
in the actual GotoStmt. Fixed bug where GotoStmt::getSourceRange incorrectly used the target LabelStmt to compute its extent. llvm-svn: 41745
-
Ted Kremenek authored
llvm-svn: 41742
-
Ted Kremenek authored
source-level CFGs. This code may change significantly in the near future as we explore different means to implement dataflow analyses. Added a driver option, -dump-live-variables, to view the output of live variable analysis. This output is very ALPHA; it will be improved shortly. llvm-svn: 41737
-
Chris Lattner authored
llvm-svn: 41736
-
Chris Lattner authored
llvm-svn: 41734
-
Steve Naroff authored
Start implementing Actions interface for ObjC classes, instance variables, and methods. Lot's of small changes to the parser. llvm-svn: 41732
-
Fariborz Jahanian authored
llvm-svn: 41731
-
- Sep 05, 2007
-
-
Ted Kremenek authored
Added CFG::getNumBlockIDs() to query the number of distinct block ids created. llvm-svn: 41724
-
Fariborz Jahanian authored
2. Fixes all allowable key-words used as selectors. 3. Template to do the messaging parse. 4. A test case for all allowable selector names. llvm-svn: 41723
-
- Sep 04, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 41716
-
Steve Naroff authored
Simplified initializer semantic analysis by adding the following 2 methods: - ArrayType::getBaseType(), and - ConstantArrayType::getMaximumElements(). Wanted to do this cleanup before adding structure support, which will add more complexity. llvm-svn: 41715
-
Fariborz Jahanian authored
llvm-svn: 41709
-
Hartmut Kaiser authored
llvm-svn: 41707
-
Ted Kremenek authored
llvm-svn: 41704
-
Chris Lattner authored
llvm-svn: 41701
-
Steve Naroff authored
Make sure initializer type promotions get propagated. This fixes a recent regression with Codegen/mandel.c. llvm-svn: 41696
-
Chris Lattner authored
llvm-svn: 41695
-
Chris Lattner authored
llvm-svn: 41694
-
Chris Lattner authored
llvm-svn: 41693
-
Chris Lattner authored
llvm-svn: 41692
-