- Apr 24, 2008
-
-
Ted Kremenek authored
This fixes <rdar://problem/5886141>. Part of this change resulted in creating sparser summaries. I also added some more comments and did some minor code cleanups. llvm-svn: 50214
-
Ted Kremenek authored
when processing a constraint we don't understand. This allows the frontend to gracefully fail. llvm-svn: 50213
-
Ted Kremenek authored
that say that we are jumping to "case a" instead of "case 0". This is a feature implementation for <rdar://problem/5880430>. llvm-svn: 50197
-
Ted Kremenek authored
llvm-svn: 50195
-
Ted Kremenek authored
When building PathDiagnostics for bug reports, generate a trimmed ExplodedGraph with a single path that BugReport objects can safely walk and introspect. llvm-svn: 50194
-
- Apr 23, 2008
-
-
rdar://problem/5881148Ted Kremenek authored
Problem: In the recently refactored VisitDeref (which processes dereferences), we were incorrectly skipping the node just generated for the subexpression of the dereference. This was a horrible regression. llvm-svn: 50176
-
Ted Kremenek authored
when it is constructed via deserialization. This is done by recording a flag indicating that this is the case, and it deletes these objects by getting the references stored in the ASTContext object. This fixes some memory leaks that occurs when we deserialize translation units from bitcode files. The rationale between having TranslationUnit sometimes own these objects and sometimes not is that a TranslationUnit object can be constructed from state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus in these cases won't own the IdentifierTable or Selectors, etc. During deserialization, there is no Preprocessor, so somebody needs to own these objects in order for them to be properly reclaimed. llvm-svn: 50149
-
Ted Kremenek authored
always be taken even if it was not feasible. llvm-svn: 50132
-
Chris Lattner authored
llvm-svn: 50126
-
Ted Kremenek authored
llvm-svn: 50119
-
Fariborz Jahanian authored
to print declaration from its AST. llvm-svn: 50117
-
Ted Kremenek authored
the line we are going to. llvm-svn: 50113
-
Ted Kremenek authored
llvm-svn: 50112
-
- Apr 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 50109
-
Ted Kremenek authored
Added "nonlval::LValAsInteger" to represent abstract LVals casted to integers, allowing us to track lvals when they are casted back to pointers. llvm-svn: 50108
-
Chris Lattner authored
DeclContext *CtxDecl -> DeclContext *DeclCtx DeclContext *CD -> DeclContext *DC It makes the code more consistent." Patch by Zhongxing Xu! llvm-svn: 50105
-
Ted Kremenek authored
them to not be stack-allocated. HTMLDiagnostics now batches PathDiagnostics before emitting HTML in its dtor. This is a workaround for a problem when we trampled the Preprocessor state when highlighting macros (sometimes resulting in an assertion failure). llvm-svn: 50102
-
Argyrios Kyrtzidis authored
llvm-svn: 50098
-
Ted Kremenek authored
llvm-svn: 50091
-
Ted Kremenek authored
llvm-svn: 50089
-
Nate Begeman authored
llvm-svn: 50085
-
Ted Kremenek authored
llvm-svn: 50083
-
Fariborz Jahanian authored
derived class. llvm-svn: 50074
-
Ted Kremenek authored
llvm-svn: 50071
-
- Apr 21, 2008
-
-
Fariborz Jahanian authored
ivar of same name. Better diagnostics to bring home this point. llvm-svn: 50065
-
Fariborz Jahanian authored
More property semantics checking. First test case for ObjC2's property implementation. llvm-svn: 50057
-
Chris Lattner authored
llvm-svn: 50055
-
Fariborz Jahanian authored
Added iterators, methods to find property and categories. Use them in doing semantic analysis on property implementation declarations. Fixed typos. llvm-svn: 50050
-
Chris Lattner authored
llvm-svn: 50049
-
Douglas Gregor authored
llvm-svn: 50021
-
Ted Kremenek authored
llvm-svn: 50012
-
- Apr 20, 2008
-
-
Nate Begeman authored
Add test Implement feedback from Chris re: PR1998 llvm-svn: 50001
-
Chris Lattner authored
1. If we hit a semantic error, try harder to recover to emit diagnostics for later initializer errors (PR2241). 2. Don't leak parsed initializers on an error. llvm-svn: 49998
-
Chris Lattner authored
llvm-svn: 49997
-
Chris Lattner authored
literal, indicate what character the error is about or where it would be. For example: pr2241.c:1:17: error: exponent has no digits float f[] = { 1e , 1ee0 }; ^ llvm-svn: 49996
-
Nate Begeman authored
Warn about unused static functions and variables. This fixes PR1998. llvm-svn: 49987
-
Chris Lattner authored
deleting dead code, making other code more obvious, and fixing a bug. This fixes these (bogus) warnings in release mode: SemaExprObjC.cpp:383: warning: 'RHSProtoE' may be used uninitialized in this function SemaExprObjC.cpp:383: warning: 'RHSProtoI' may be used uninitialized in this function llvm-svn: 49984
-
Chris Lattner authored
llvm-svn: 49980
-
Chris Lattner authored
llvm-svn: 49979
-
Chris Lattner authored
llvm-svn: 49975
-