- Mar 24, 2009
-
-
Daniel Dunbar authored
llvm-svn: 67601
-
Anders Carlsson authored
llvm-svn: 67598
-
Anders Carlsson authored
class C { void g(C c); virtual void f() = 0; }; In this case, C is not known to be abstract when doing semantic analysis on g. This is done by recursively traversing the abstract class and checking the types of member functions. llvm-svn: 67594
-
Eli Friedman authored
llvm-svn: 67593
-
Eli Friedman authored
llvm-svn: 67592
-
Douglas Gregor authored
llvm-svn: 67585
-
Douglas Gregor authored
eliminating the duplication is next on the list. llvm-svn: 67579
-
Douglas Gregor authored
a class template. At present, we can only instantiation normal methods, but not constructors, destructors, or conversion operators. As ever, this contains a bit of refactoring in Sema's type-checking. In particular: - Split ActOnFunctionDeclarator into ActOnFunctionDeclarator (handling the declarator itself) and CheckFunctionDeclaration (checking for the the function declaration), the latter of which is also used by template instantiation. - We were performing the adjustment of function parameter types in three places; collect those into a single new routine. - When the type of a parameter is adjusted, allocate an OriginalParmVarDecl to keep track of the type as it was written. - Eliminate a redundant check for out-of-line declarations of member functions; hide more C++-specific checks on function declarations behind if(getLangOptions().CPlusPlus). llvm-svn: 67575
-
- Mar 23, 2009
-
-
Ted Kremenek authored
A test case to test that -warn-dead-stores does not emit a warning for stores to variables marked with '#pragma unused'. llvm-svn: 67570
-
Ted Kremenek authored
llvm-svn: 67569
-
Fariborz Jahanian authored
llvm-svn: 67551
-
Anders Carlsson authored
More improvements to abstract type checking. Handle arrays correctly, and make sure to check parameter types before they decay. llvm-svn: 67550
-
Anders Carlsson authored
llvm-svn: 67542
-
Douglas Gregor authored
library function, accept this declaration and pretend that we do not know that this is a library function. autoconf depends on this (broken) behavior. llvm-svn: 67541
-
Chris Lattner authored
This matters in assembler mode, where this is silently allowed. This fixes rdar://6709206. llvm-svn: 67539
-
Ted Kremenek authored
<rdar://problem/6704930> involving SimpleConstraintManager not reasoning well about symbolic constraint values involving arithmetic operators. llvm-svn: 67534
-
Douglas Gregor authored
prototype. Thanks Eli! llvm-svn: 67533
-
Douglas Gregor authored
llvm-svn: 67530
-
Ted Kremenek authored
values passed-by-reference to unknown functions. llvm-svn: 67519
-
Eli Friedman authored
llvm-svn: 67503
-
Eli Friedman authored
llvm-svn: 67499
-
Eli Friedman authored
llvm-svn: 67496
-
Sebastian Redl authored
Recognize rvalue references in C++03, but complain about them. This leads to far better error recovery. llvm-svn: 67495
-
Eli Friedman authored
incompatibilities in assignments from other pointer incompatibilities. Based off of the patch in PR3342. (This doesn't implement -Wno-pointer-sign, but I don't know the driver code very well.) llvm-svn: 67494
-
Sebastian Redl authored
llvm-svn: 67492
-
Eli Friedman authored
attempting to illegally modify a BlockDeclRefExpr. llvm-svn: 67491
-
Daniel Dunbar authored
llvm-svn: 67490
-
Eli Friedman authored
isObjCObjectPointerType to work with qualified types. Adjust test for changes. If the SemaExpr changes are wrong or break existing code, feel free to delete the "ExprTy.addConst();" line and revert my changes to test/Sema/block-literal.c. llvm-svn: 67489
-
- Mar 22, 2009
-
-
Sebastian Redl authored
llvm-svn: 67487
-
Eli Friedman authored
llvm-svn: 67486
-
Eli Friedman authored
llvm-svn: 67485
-
Chris Lattner authored
functionality, fixing a crash on the attached testcase. Eliminate the BuiltinFunctions cache, as it can contain dangling pointers. This fixes a bunch of valgrind errors on test/CodeGen/builtins.c llvm-svn: 67484
-
Eli Friedman authored
llvm-svn: 67483
-
Chris Lattner authored
llvm-svn: 67481
-
Chris Lattner authored
some tests into the alias.c file. llvm-svn: 67479
-
Anders Carlsson authored
llvm-svn: 67476
-
Chris Lattner authored
to something like: define void @bar(%struct.foo* noalias sret %agg.result) nounwind { instead of: define void @bar(%struct.foo* noalias sret %agg.result, ...) nounwind { llvm-svn: 67475
-
Anders Carlsson authored
Keep track of whether a class is abstract or not. This is currently only used for the __is_abstract type trait. llvm-svn: 67461
-
Chris Lattner authored
llvm-svn: 67455
-
- Mar 21, 2009
-
-
Mike Stump authored
copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453
-