- Aug 18, 2008
-
-
Daniel Dunbar authored
extension). llvm-svn: 54946
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
-
Daniel Dunbar authored
- Drop TokenKinds.h from Action.h - Move DeclSpec.h from Sema.h into individual Sema .cpp files llvm-svn: 54625
-
- Aug 10, 2008
-
-
Steve Naroff authored
InitListChecker::CheckListElementTypes(): Check for function types and issue an appropriate diagnostic. llvm-svn: 54614
-
Eli Friedman authored
member count. The count returned by numStructUnionElements is the number of initializers that will be consumed, not the number of members to iterate through. Fixes PR2534. llvm-svn: 54601
-
- Aug 04, 2008
-
-
Chris Lattner authored
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. llvm-svn: 54317
-
- Jun 10, 2008
-
-
Argyrios Kyrtzidis authored
Added TagKind enum. Added getTagKind() method. Added convenience methods: isEnum(), isStruct(), isUnion(), isClass(). -RecordDecl/CXXRecordDecl::Create() accept a TagKind enum instead of a DeclKind one. llvm-svn: 52160
-
- Jun 09, 2008
-
-
Eli Friedman authored
type; this isn't explicitly stated in the standard, but it doesn't really make sense for them to have an effect here. Fixes the included testcase, sent to me by Steve Naroff. llvm-svn: 52113
-
- May 25, 2008
-
-
Eli Friedman authored
with unnamed members. llvm-svn: 51557
-
Eli Friedman authored
PR2151 (by not creating the empty implicit init list). llvm-svn: 51556
-
Eli Friedman authored
double-report errors; fixes PR2362. llvm-svn: 51555
-
- May 20, 2008
-
-
Eli Friedman authored
llvm-svn: 51301
-
- May 19, 2008
-
-
Eli Friedman authored
llvm-svn: 51269
-
Eli Friedman authored
and "int a = {};"). I'll adjust the tests in a bit. llvm-svn: 51265
-
Eli Friedman authored
llvm-svn: 51262
-
Eli Friedman authored
caused by enabling SemaInit. llvm-svn: 51261
-
- May 06, 2008
-
-
Steve Naroff authored
Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon. llvm-svn: 50688
-
- May 02, 2008
-
-
Steve Naroff authored
Replace Sema::CheckInitializerListTypes() with a helper class (InitListChecker) that synthesizes implicit InitListExpr's when appropriate (see InitListExpr comments in Expr.h for more details). I also moved the code to SemaInit.cpp, to help reduce clutter in SemaDecl.cpp. NOTE: This work is incomplete and still fails many tests (as a result, it isn't enabled yet). Nevertheless, I wanted to check it in so I can work on it from home. llvm-svn: 50544
-