]> granicus.if.org Git - clang/commit
Give InitListChecker a verification-only mode, where it neither emits diagnostics nor
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 24 Sep 2011 17:48:00 +0000 (17:48 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 24 Sep 2011 17:48:00 +0000 (17:48 +0000)
commit14b0c194b356a1204d081765b3e6699687bed97c
tree8bd766140d426e0fa68e81a88f130bc646b7aaa6
parent8713d4e874f2adc2928ebfb86c845574a14e3b3e
Give InitListChecker a verification-only mode, where it neither emits diagnostics nor
builds a semantic (structured) initializer list, just reports on whether it can match
the given list to the target type.
Use this mode for doing init list checking in the initial step of initialization, which
will eventually allow us to do overload resolution based on the outcome.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140457 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Initialization.h
include/clang/Sema/Overload.h
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp