Searched defs:Conversion (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/SemaCXX/
H A Dexplicit.cpp23 namespace Conversion { namespace
43 class Y { }; // expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
44 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}} \
45 expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
46 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}}
55 Y y2 = z; // expected-error {{no viable conversion from 'Conversion
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp637 CXXConversionDecl *Conversion local
646 Conversion->setAccess(AS_public);
647 Conversion->setImplicit(true);
648 Class->addDecl(Conversion);
708 CXXConversionDecl *Conversion local
716 Conversion->setAccess(AS_public);
717 Conversion->setImplicit(true);
718 Class->addDecl(Conversion);
H A DSemaInit.cpp5069 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn); local
5079 FoundFn, Conversion);
5085 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
5092 CreatedObject = Conversion->getResultType()->isRecordType();
5516 llvm_unreachable("Conversion did not fail!");
5712 llvm_unreachable("Conversion did not fail!");
H A DSemaDeclCXX.cpp2658 "Conversion of invented variable cannot fail!");
5212 // Conversion functions don't have return types, but the parser will
5281 Decl *Sema::ActOnConversionDeclarator(CXXConversionDecl *Conversion) { argument
5282 assert(Conversion && "Expected to receive a conversion function declaration");
5284 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(Conversion->getDeclContext());
5287 QualType ConvType = Context.getCanonicalType(Conversion->getConversionType());
5301 if (Conversion->getTemplateSpecializationKind() != TSK_Undeclared &&
5302 Conversion->getTemplateSpecializationKind() != TSK_ExplicitSpecialization)
5307 Diag(Conversion->getLocation(), diag::warn_conv_to_self_not_used)
5310 Diag(Conversion
[all...]
H A DSemaExpr.cpp10252 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(MethodDecl); local
10253 if (Conversion->isLambdaToBlockPointerConversion())
10254 DefineImplicitLambdaToBlockPointerConversion(Loc, Conversion);
10256 DefineImplicitLambdaToFunctionPointerConversion(Loc, Conversion);
10450 "Conversion of invented variable cannot fail!");
H A DSemaOverload.cpp181 "Transparent Union Conversion"
1060 // given Conversion rank, in spite of the fact that a copy
1158 // given Conversion rank, in spite of the fact that a copy/move
1913 // Conversion from a null pointer constant to any Objective-C pointer type.
3112 if (CXXConversionDecl *Conversion
3114 S.MarkFunctionReferenced(From->getLocStart(), Conversion);
3124 User.ConversionFunction = Conversion;
4024 // type, a derived-to-base Conversion.
4115 // derived-to-base Conversion (13.3.3.1).
4801 // Conversion fro
5117 CXXConversionDecl *Conversion local
5159 CXXConversionDecl *Conversion local
5616 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet) argument
5798 AddSurrogateCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, const FunctionProtoType *Proto, Expr *Object, llvm::ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet) argument
[all...]

Completed in 132 milliseconds