- Apr 29, 2008
-
-
Ted Kremenek authored
The transfer functions for the checker don't do anything special yet in GC mode. llvm-svn: 50394
-
Ted Kremenek authored
Add corresponding enum in LangOptions. llvm-svn: 50387
-
- Apr 28, 2008
-
-
Ted Kremenek authored
std::pair<CFGBlock*, CFGBlock*> that have an 8-byte alignment for use with ProgramPoint. This fixes a bug reported by Argiris where using std::set<> on Windows would result in a 4-byte alignment, not an 8-byte alignment. Fixes: <rdar://problem/5892265> llvm-svn: 50364
-
- Apr 27, 2008
-
-
Argyrios Kyrtzidis authored
This is the same for functions and it's preferable to have the namespace as DeclContext during ActOnPopScope. llvm-svn: 50322
-
Argyrios Kyrtzidis authored
-NamespaceDecl for the AST -Checks for name clashes between namespaces and tag/normal declarations. This commit doesn't implement proper name lookup for namespaces. llvm-svn: 50321
-
Argyrios Kyrtzidis authored
llvm-svn: 50320
-
- Apr 26, 2008
-
-
Argyrios Kyrtzidis authored
Make assertions for all addresses passed to ProgramPoint that they have at least an 8-byte alignment. llvm-svn: 50310
-
- Apr 25, 2008
-
-
Ted Kremenek authored
empty CFGBlocks that only contained a terminator. Added improved diagnostics for break and continue statements and default branches in switch statements. This fixes <rdar://problem/5889244>. llvm-svn: 50286
-
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
-