- Apr 02, 2008
-
-
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
-
Chris Lattner authored
llvm-svn: 49097
-
Ted Kremenek authored
llvm-svn: 49095
-
Ted Kremenek authored
llvm-svn: 49094
-
Ted Kremenek authored
llvm-svn: 49093
-
Ted Kremenek authored
llvm-svn: 49092
-
Ted Kremenek authored
llvm-svn: 49091
-
Ted Kremenek authored
llvm-svn: 49090
-
Ted Kremenek authored
better with what compiler invocations that ccc-analyzer actually intercepts. Fixes suggested by Sam Bishop! llvm-svn: 49089
-
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
-
Ted Kremenek authored
llvm-svn: 49085
-
Ted Kremenek authored
llvm-svn: 49084
-
Ted Kremenek authored
llvm-svn: 49083
-
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
-
Ted Kremenek authored
llvm-svn: 49076
-
Chris Lattner authored
llvm-svn: 49075
-
Chris Lattner authored
llvm-svn: 49074
-
Ted Kremenek authored
in these cases we directly call ccc-analyzer. llvm-svn: 49073
-
Chris Lattner authored
functionality change. llvm-svn: 49072
-
Sam Bishop authored
llvm-svn: 49071
-
Chris Lattner authored
llvm-svn: 49068
-
Steve Naroff authored
llvm-svn: 49066
-
Steve Naroff authored
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl. - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's. - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl(). - Some minor indentation changes. Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit... llvm-svn: 49058
-
Ted Kremenek authored
llvm-svn: 49057
-
- Apr 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 49052
-
Ted Kremenek authored
llvm-svn: 49051
-
Ted Kremenek authored
interpose calls to gcc with calls to the analyzer. llvm-svn: 49049
-
Chris Lattner authored
llvm-svn: 49042
-
Chris Lattner authored
llvm-svn: 49033
-
Chris Lattner authored
The new MemoryBuffer doesn't "leak" file descriptors and handles the small file case efficiently. llvm-svn: 49032
-
Ted Kremenek authored
llvm-svn: 49005
-
Chris Lattner authored
llvm-svn: 49004
-
Ted Kremenek authored
llvm-svn: 49001
-