| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
with unnamed members.
llvm-svn: 51557
|
| |
|
|
|
|
| |
PR2151 (by not creating the empty implicit init list).
llvm-svn: 51556
|
| |
|
|
|
|
| |
double-report errors; fixes PR2362.
llvm-svn: 51555
|
| |
|
|
| |
llvm-svn: 51301
|
| |
|
|
| |
llvm-svn: 51269
|
| |
|
|
|
|
| |
and "int a = {};"). I'll adjust the tests in a bit.
llvm-svn: 51265
|
| |
|
|
| |
llvm-svn: 51262
|
| |
|
|
|
|
| |
caused by enabling SemaInit.
llvm-svn: 51261
|
| |
|
|
|
|
| |
tests). Expect to enable it very soon.
llvm-svn: 50688
|
|
|
(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
|