Home
last modified time | relevance | path

Searched refs:DeducedType (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp1090 QualType DeducedType = Arg; in DeduceTemplateArgumentsByTypeMatch() local
1094 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1107 if (ParamQs.hasObjCLifetime() && !DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1108 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1119 DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1123 DeducedType = S.Context.getQualifiedType(DeducedType.getUnqualifiedType(), in DeduceTemplateArgumentsByTypeMatch()
1127 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
1129 DeducedTemplateArgument NewDeduced(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
4081 QualType DeducedType = Deduced[0].getAsType(); in DeduceAutoType() local
4084 DeducedType = BuildStdInitializerList(DeducedType, Loc); in DeduceAutoType()
[all …]
DSemaLambda.cpp723 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
726 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
735 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
765 return DeducedType; in buildLambdaInitCaptureInitialization()
DSemaExprCXX.cpp1551 QualType DeducedType; in BuildCXXNew() local
1552 if (DeduceAutoType(AllocTypeInfo, Deduce, DeducedType) == DAR_Failed) in BuildCXXNew()
1556 if (DeducedType.isNull()) in BuildCXXNew()
1558 AllocType = DeducedType; in BuildCXXNew()
DSemaDecl.cpp9478 QualType DeducedType; in deduceVarTypeFromInitializer() local
9479 if (DeduceAutoType(TSI, DeduceInit, DeducedType) == DAR_Failed) { in deduceVarTypeFromInitializer()
9503 !IsInitCapture && !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
9508 return DeducedType; in deduceVarTypeFromInitializer()
9551 QualType DeducedType = deduceVarTypeFromInitializer( in AddInitializerToDecl() local
9554 if (DeducedType.isNull()) { in AddInitializerToDecl()
9559 VDecl->setType(DeducedType); in AddInitializerToDecl()
/external/clang/test/CodeGenCXX/
Dmangle-ms-cxx11.cpp58 auto DeducedType = 30; variable
/external/clang/include/clang/AST/
DType.h4088 AutoType(QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent)
4089 : Type(Auto, DeducedType.isNull() ? QualType(this, 0) : DeducedType,
4092 /*ContainsParameterPack=*/DeducedType.isNull()
4093 ? false : DeducedType->containsUnexpandedParameterPack()) {
4094 assert((DeducedType.isNull() || !IsDependent) &&
DASTContext.h1312 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
/external/clang/lib/AST/
DASTContext.cpp4040 QualType ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
4042 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && !IsDependent) in getAutoType()
4048 AutoType::Profile(ID, DeducedType, Keyword, IsDependent); in getAutoType()
4052 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType, in getAutoType()