- Apr 04, 2008
-
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
Chris Lattner authored
llvm-svn: 49217
-
Chris Lattner authored
llvm-svn: 49216
-
Chris Lattner authored
llvm-svn: 49215
-
Steve Naroff authored
Without this, the diagnostic is very confusing. The diag is now consistent with gcc as well. llvm-svn: 49214
-
Seo Sanghyeon authored
llvm-svn: 49212
-
Torok Edwin authored
llvm-svn: 49209
-
Chris Lattner authored
-Added ContextDecl (no TranslationUnitDecl) -ScopedDecl class has a ContextDecl member -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context. -Moved Decl class to a "DeclBase.h" along with ContextDecl class -CurContext is handled by Sema llvm-svn: 49208
-
Chris Lattner authored
llvm-svn: 49201
-
Nate Begeman authored
This prevents things like a += b[0]; where a is a float4 and b is a float4 * (address_space 1) llvm-svn: 49199
-
- Apr 03, 2008
-
-
Ted Kremenek authored
llvm-svn: 49193
-
Nate Begeman authored
llvm-svn: 49186
-
Ted Kremenek authored
llvm-svn: 49184
-
Ted Kremenek authored
llvm-svn: 49183
-
Ted Kremenek authored
the ranges of highlighted elements in the source code. llvm-svn: 49181
-
Ted Kremenek authored
the new BugReporter interface. llvm-svn: 49180
-
Ted Kremenek authored
llvm-svn: 49177
-
Sam Bishop authored
llvm-svn: 49160
-
Ted Kremenek authored
llvm-svn: 49155
-
Ted Kremenek authored
issues. llvm-svn: 49150
-
Chris Lattner authored
by Lauro Venancio! llvm-svn: 49144
-
Sam Bishop authored
llvm-svn: 49142
-
Ted Kremenek authored
llvm-svn: 49139
-
Chris Lattner authored
the LHS for null twice. llvm-svn: 49138
-
Chris Lattner authored
llvm-svn: 49137
-
Sam Bishop authored
llvm-svn: 49135
-
Ted Kremenek authored
BFS path to the root. This also avoids problems with loops in the ExplodedGraph. llvm-svn: 49133
-
Ted Kremenek authored
"BugReporter" and "BugDescription". BugDescription is used to describe a bug and provide pieces of the PathDiagnostic, and BugReporter creates the actual PathDiagnostic by crawling through the ExplodedGraph. Migrated checks done by GRSimpleVals to be reported using the new BugReporter mechanism. llvm-svn: 49127
-
Ted Kremenek authored
llvm-svn: 49121
-
Ted Kremenek authored
llvm-svn: 49120
-
Ted Kremenek authored
llvm-svn: 49119
-
- Apr 02, 2008
-
-
Ted Kremenek authored
llvm-svn: 49117
-
Ted Kremenek authored
llvm-svn: 49116
-
Steve Naroff authored
Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl). While ObjCInterfaceDecl is arguably a TypeDecl, it isn't a ScopedDecl. Since TypeDecl's are scoped, it makes sense to simply treat them as NamedDecl's. I could have fiddled a bit more with the hierarchy (in terms of creating a non-scoped TypeDecl), however this probably isn't worth the effort. I also finished unifying access to scope decl change by converting Sema::getObjCInterfaceDecl() to use Sema::LookupDecl(). This is much cleaner now:-) llvm-svn: 49107
-
Ted Kremenek authored
llvm-svn: 49102
-
Chris Lattner authored
llvm-svn: 49101
-
Chris Lattner authored
allowing them to be treated the same in some contexts. A suggestion for a better name is welcome :) llvm-svn: 49100
-
Chris Lattner authored
llvm-svn: 49098
-
Steve Naroff authored
Two changes to Sema::LookupDecl() interface. (1) Remove IdLoc (it's never used). (2) Add a bool to enable/disable lazy builtin creaation (defaults to true). This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit. To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. llvm-svn: 49087
-
Ted Kremenek authored
that describe a bug. llvm-svn: 49086
-