const InitializationKind &Kind,
Expr **Args, unsigned NumArgs,
InitializationSequence &Sequence) {
- Sequence.setSequenceKind(InitializationSequence::ConstructorConversion);
+ Sequence.setSequenceKind(InitializationSequence::ConstructorInitialization);
// Build the candidate set directly in the initialization sequence
// structure, so that it will persist if we fail.
// we're supposed to start the conversion from the solitary initializer or
// from the set of arguments.
if (Kind.getKind() == InitializationKind::IK_Copy ||
- SequenceKind == ReferenceBinding) {
+ SequenceKind != ConstructorInitialization) {
assert(Args.size() == 1);
CurInit = Sema::OwningExprResult(S, Args.release()[0]);
if (CurInit.isInvalid())
UserDefinedConversion,
/// \brief A constructor call.
- ConstructorConversion,
+ ConstructorInitialization,
/// \brief A reference binding.
ReferenceBinding,
# testFormat: The test format to use to interpret tests.
target_obj_root = root.llvm_obj_root
+target_obj_root = '/Users/dgregor/Projects/llvm-build-autotools'
cxxflags = ['-D__STDC_LIMIT_MACROS',
'-D__STDC_CONSTANT_MACROS',
'-I%s/include' % root.llvm_src_root,