- Jul 10, 2008
-
-
Argyrios Kyrtzidis authored
Simplify the parser a bit by looking at the next token without consuming it (by Preprocessor::LookNext): -Remove ParseExpressionWithLeadingIdentifier and ParseAssignmentExprWithLeadingIdentifier. -Separate ParseLabeledStatement from ParseIdentifierStatement. llvm-svn: 53376
-
Argyrios Kyrtzidis authored
Add Preprocessor::LookNext method, which implements an efficient way to 'take a peek' at the next token without consuming it. llvm-svn: 53375
-
- Jul 09, 2008
-
-
Ted Kremenek authored
llvm-svn: 53343
-
Ted Kremenek authored
llvm-svn: 53334
-
Ted Kremenek authored
llvm-svn: 53332
-
Chris Lattner authored
llvm-svn: 53329
-
Chris Lattner authored
llvm-svn: 53328
-
- Jul 08, 2008
-
-
Ted Kremenek authored
Constraints. These concepts are already present in the current ValueState, but the implementation is monolothic. Making ValueState more modular opens up new design choices for customizing the analysis engine. In the context of the analysis engine, the "Environment" is the binding between Expr* (expressions) and intermediate symbolic values (RValues). llvm-svn: 53252
-
Nuno Lopes authored
llvm-svn: 53248
-
Anders Carlsson authored
llvm-svn: 53238
-
Anders Carlsson authored
llvm-svn: 53235
-
Anders Carlsson authored
llvm-svn: 53234
-
Anders Carlsson authored
llvm-svn: 53233
-
Seo Sanghyeon authored
llvm-svn: 53222
-
Anders Carlsson authored
llvm-svn: 53221
-
Anders Carlsson authored
llvm-svn: 53219
-
- Jul 07, 2008
-
-
Ted Kremenek authored
In a report-XXXXX.html, make the title include the name of the file with the bug. Patch by Jean-Daniel Dupas! http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002166.html llvm-svn: 53184
-
Nuno Lopes authored
also fix the correspondent test (it was expecting more errors than it should. please confirm my fix is correct (at least gcc agrees with me) llvm-svn: 53174
-
Ted Kremenek authored
llvm-svn: 53172
-
Nuno Lopes authored
llvm-svn: 53170
-
Ted Kremenek authored
This patch aims to address some of the concerns of PR 2517: http://llvm.org/bugs/show_bug.cgi?id=2517 llvm-svn: 53168
-
- Jul 05, 2008
-
-
Nuno Lopes authored
llvm-svn: 53149
-
Nuno Lopes authored
llvm-svn: 53145
-
Seo Sanghyeon authored
llvm-svn: 53141
-
- Jul 04, 2008
-
-
Sanjiv Gupta authored
This was broken when the GenerateCode function was splitted to use GenerateFunction. llvm-svn: 53136
-
Ted Kremenek authored
passed-by-reference to a function. This allows us to build up constraints for their new values and restore some lost path-sensitivity. This addresses a few false positives since in Adium. llvm-svn: 53125
-
Bill Wendling authored
llvm-svn: 53121
-
Ted Kremenek authored
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002157.html Essentially the observer mechanism in LiveVariables was observing block-level expressions multiple times, leading to a case where the dead store checker could see a value as dead when it was really live. llvm-svn: 53115
-
- Jul 03, 2008
-
-
Ted Kremenek authored
llvm-svn: 53100
-
Ted Kremenek authored
For the -dealloc checker, check the LangOptions to determine whether or not the code is compiled with GC. llvm-svn: 53098
-
Ted Kremenek authored
Have BugReporter::getCFG and BugReporter::getLiveVariables returns pointers instead of references, because they can both fail on functions we cannot construct full CFGs for yet. llvm-svn: 53081
-
Ted Kremenek authored
Added static analysis check to see if a subclass of NSObject implements -dealloc, and whether or not that implementation calls [super dealloc]. llvm-svn: 53075
-
Anders Carlsson authored
llvm-svn: 53074
-
Chris Lattner authored
'integer constant is so large that it is unsigned' warning for hex literals. llvm-svn: 53070
-
Chris Lattner authored
by filling in the body of a union with enum constants. llvm-svn: 53069
-
Ted Kremenek authored
llvm-svn: 53054
-
- Jul 02, 2008
-
-
Ted Kremenek authored
Refactored some of the BugReporter interface so that data such as the ASTContext&, PathDiagnosticClient*, can be provided by an external source. Split BugReporter into BugReporter and GRBugReporter so checkers not based on GRExprEngine can still use the BugReporter mechanism. llvm-svn: 53048
-
Ted Kremenek authored
This allows an optimization in AnalysisConsumer where the same LiveVariables information is used between multiple analyses. llvm-svn: 53046
-
Ted Kremenek authored
Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager. llvm-svn: 53043
-
Ted Kremenek authored
Added method "HandleTranslationUnit" to ASTConsumer. This is called by ParseAST when all of the ASTs in a translation unit have been built. llvm-svn: 53042
-