]> granicus.if.org Git - clang/commit
Replace Sema::CheckInitializerListTypes() with a helper class (InitListChecker) that...
authorSteve Naroff <snaroff@apple.com>
Thu, 1 May 2008 22:18:59 +0000 (22:18 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 1 May 2008 22:18:59 +0000 (22:18 +0000)
commit0cca749f64ff54476df3a4fc084821b8a8d712d5
tree6a7d189456cd657af44b6c1e05716d63155b1247
parent8ba5d792032f475eb653ca6340eb51068df0fa90
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaInit.cpp [new file with mode: 0644]