- 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
-
Chris Lattner authored
object type". Add a predicate that checks exactly this, as it is equivalent to checking ot see if the type is *not* a function type, which is faster to check. llvm-svn: 49082
-
Chris Lattner authored
object or incomplete types shall not be restrict-qualified." 2) Warn about qualifiers on function types: C99 6.7.3p8: "If the specification of a function type includes any type qualifiers, the behavior is undefined." 3) Implement restrict on C++ references. 4) fix some locations for various C++ reference diagnostics. llvm-svn: 49081
-
Chris Lattner authored
llvm-svn: 49080
-
Chris Lattner authored
First, we got several CVR propagation cases wrong, which Eli pointed out in PR2039. Second, we didn't propagate address space qualifiers correctly, leading to incorrect lowering of code in CodeGen/address-space.c. Third, we didn't uniformly propagate the specifier in the array to the pointer ("int[restrict 4]" -> "int *restrict"). This adds an ASTContext::getArrayDecayedType member that handles the non-trivial logic for this seemingly simple operation. llvm-svn: 49078
-
Ted Kremenek authored
GRSimpleVals warnings. Cleaning up, but now we get multiple bubbles (branches are annotated). llvm-svn: 49077
-
Chris Lattner authored
llvm-svn: 49075
-
Chris Lattner authored
llvm-svn: 49074
-
Chris Lattner authored
functionality change. llvm-svn: 49072
-
Chris Lattner authored
llvm-svn: 49068
-
Steve Naroff authored
llvm-svn: 49066
-