- Apr 25, 2008
-
-
Chris Lattner authored
reimplemented in Sema someday. This is tracked in PR2236. Until then disabling it removes some bogus diagnostics (see 2236). llvm-svn: 50263
-
Nuno Lopes authored
comments on the ML will follow llvm-svn: 50262
-
Ted Kremenek authored
llvm-svn: 50246
-
Ted Kremenek authored
llvm-svn: 50245
-
Ted Kremenek authored
Don't emit empty strings for path diagnostics when taking the default branch of a switch statement that has no label. llvm-svn: 50242
-
Ted Kremenek authored
Implemented support for better localized leaks in the CF reference count checker. Now leaks should be flagged close to where they occur. This should implement the desired functionality in <rdar://problem/5879592>, although the diagnostics still need to be improved. llvm-svn: 50241
-
Ted Kremenek authored
llvm-svn: 50237
-
Ted Kremenek authored
llvm-svn: 50233
-
- Apr 24, 2008
-
-
Fariborz Jahanian authored
its super class. This patch is incomplete. llvm-svn: 50228
-
Ted Kremenek authored
function logic to act when symbols become dead. llvm-svn: 50221
-
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
-