- Apr 16, 2008
-
-
Ted Kremenek authored
toll-free bridging. llvm-svn: 49772
-
- Apr 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 49735
-
Steve Naroff authored
llvm-svn: 49692
-
- Apr 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 49659
-
Ted Kremenek authored
llvm-svn: 49647
-
- Apr 13, 2008
-
-
Douglas Gregor authored
inheritance in C++. It'll parse the base-specifier list, e.g., class D : public B1, virtual public B2 { }; and do some of the simpler semantic checks (B1 and B2 are classes; they aren't unions or incomplete types, etc). llvm-svn: 49623
-
Douglas Gregor authored
llvm-svn: 49621
-
Chris Lattner authored
more nice. llvm-svn: 49619
-
Chris Lattner authored
improve the robustness of the test. llvm-svn: 49618
-
Chris Lattner authored
Doug Gregor! llvm-svn: 49598
-
- Apr 11, 2008
-
-
Ted Kremenek authored
GRSimpleVals::EvalCal(), and don't change reference counts. Remove "getDoNothingSummary()", as a NULL summary does the same thing. Added temporary hack for the "Get" rule for objects that return a pointer type: treat them as non-owned CF objects. Added test case to detect the release of a non-owned object. llvm-svn: 49555
-
Ted Kremenek authored
use-after-release errors. Added test case. llvm-svn: 49509
-
Ted Kremenek authored
code path in the clang driver. Renamed options --grsimple to -checker-simple and -check-cfref to -checker-cfref. llvm-svn: 49500
-
- Apr 10, 2008
-
-
Chris Lattner authored
void f(T); is only invalid in C++ mode, not C89 mode. llvm-svn: 49460
-
Chris Lattner authored
argument handling. I'll fix up the c89 (void) thing next. llvm-svn: 49459
-
- Apr 08, 2008
-
-
Chris Lattner authored
interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
-
- Apr 07, 2008
-
-
Chris Lattner authored
and fix a bug. llvm-svn: 49322
-
Chris Lattner authored
if MyClass is a superclass of MyOtherClass, there is no need for an exact interface match. llvm-svn: 49320
-
Chris Lattner authored
the tests in parallel. llvm-svn: 49290
-
- Apr 06, 2008
-
-
Chris Lattner authored
llvm-svn: 49271
-
Chris Lattner authored
llvm-svn: 49270
-
- Apr 05, 2008
-
-
Chris Lattner authored
subsuming) my patch for PR1999. llvm-svn: 49251
-
Chris Lattner authored
missing from function definitions only. If we see a function definiton with missing declspecs, just fudge in an int. llvm-svn: 49250
-
- Apr 04, 2008
-
-
Chris Lattner authored
code, but the codegen doesn't crash. I'll file a bugzilla for the AST being wrong. llvm-svn: 49226
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
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
-
- Apr 03, 2008
-
-
Chris Lattner authored
by Lauro Venancio! llvm-svn: 49144
-
- Apr 02, 2008
-
-
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
-
Chris Lattner authored
llvm-svn: 49097
-
Ted Kremenek authored
llvm-svn: 49095
-
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
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
-
Chris Lattner authored
llvm-svn: 49068
-
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
-
- Mar 31, 2008
-
-
Ted Kremenek authored
of a stack variable. This is the path-sensitive version of a check that is already done during semantic analysis. llvm-svn: 48980
-
Chris Lattner authored
Fix objc ivar lookup. Ivar lookup should occur between lookup of method-local values and lookup of globals. Emulate this with some logic in the handling of Sema::ActOnIdentifierExpr. Two todo's left: 1) sema shouldn't turn a bare reference to an ivar into "self->ivar" in the AST. This is a hack. 2) The new ScopedDecl::isDefinedOutsideFunctionOrMethod method does not correctly handle typedefs and enum constants yet. llvm-svn: 48972
-
- Mar 28, 2008
-
-
Steve Naroff authored
llvm-svn: 48926
-
Steve Naroff authored
llvm-svn: 48924
-
- Mar 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 48898
-