/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 92 SmallVectorImpl<DeducedTemplateArgument> &Deduced); 101 Deduced, 110 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 292 SmallVectorImpl<DeducedTemplateArgument> &Deduced) { in DeduceNonTypeTemplateArgument() argument 299 Deduced[NTTP->getIndex()], in DeduceNonTypeTemplateArgument() 303 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument() 308 Deduced[NTTP->getIndex()] = Result; in DeduceNonTypeTemplateArgument() 321 SmallVectorImpl<DeducedTemplateArgument> &Deduced) { in DeduceNonTypeTemplateArgument() argument 329 Deduced[NTTP->getIndex()], in DeduceNonTypeTemplateArgument() 334 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument() [all …]
|
D | SemaStmt.cpp | 3066 QualType Deduced; in DeduceFunctionTypeFromReturnExpr() local 3090 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr() 3115 Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy); in DeduceFunctionTypeFromReturnExpr() 3116 if (Deduced.isNull()) in DeduceFunctionTypeFromReturnExpr() 3126 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr() 3151 Context.adjustDeducedFunctionResultType(FD, Deduced); in DeduceFunctionTypeFromReturnExpr()
|
D | TreeTransform.h | 860 QualType RebuildAutoType(QualType Deduced, AutoTypeKeyword Keyword) { in RebuildAutoType() argument 864 return SemaRef.Context.getAutoType(Deduced, Keyword, in RebuildAutoType() 4072 QualType Deduced = AutoTy->getDeducedType(); in TransformQualifiedType() local 4073 Qualifiers Qs = Deduced.getQualifiers(); in TransformQualifiedType() 4075 Deduced = SemaRef.Context.getQualifiedType(Deduced.getUnqualifiedType(), in TransformQualifiedType() 4077 Result = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in TransformQualifiedType()
|
D | SemaCodeComplete.cpp | 2731 llvm::SmallBitVector Deduced; in CreateCodeCompletionString() local 2732 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in CreateCodeCompletionString() 2734 for (LastDeducibleArgument = Deduced.size(); LastDeducibleArgument > 0; in CreateCodeCompletionString() 2736 if (!Deduced[LastDeducibleArgument - 1]) { in CreateCodeCompletionString()
|
D | SemaDecl.cpp | 10707 QualType Deduced; in BuildDeclaratorGroup() local 10719 if (Deduced.isNull()) { in BuildDeclaratorGroup() 10720 Deduced = U; in BuildDeclaratorGroup() 10727 << Deduced << DeducedDecl->getDeclName() in BuildDeclaratorGroup()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 140 SmallVectorImpl<DeducedTemplateArgument> &Deduced); 149 Deduced, 159 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 169 llvm::SmallBitVector &Deduced); 390 SmallVectorImpl<DeducedTemplateArgument> &Deduced) { in DeduceNonTypeTemplateArgument() argument 395 S.Context, Deduced[NTTP->getIndex()], NewDeduced); in DeduceNonTypeTemplateArgument() 398 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument() 403 Deduced[NTTP->getIndex()] = Result; in DeduceNonTypeTemplateArgument() 432 S, TemplateParams, ParamType, ValueType, Info, Deduced, in DeduceNonTypeTemplateArgument() 443 SmallVectorImpl<DeducedTemplateArgument> &Deduced) { in DeduceNonTypeTemplateArgument() argument [all …]
|
D | SemaType.cpp | 3306 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator() local 3308 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator() 3310 Deduced = T.isNull() ? nullptr : T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator() 3315 if (Deduced) { in GetDeclSpecTypeForDeclarator() 3316 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator() 3395 if (isa<DeducedTemplateSpecializationType>(Deduced) && in GetDeclSpecTypeForDeclarator() 3407 if (isa<DeducedTemplateSpecializationType>(Deduced) && in GetDeclSpecTypeForDeclarator() 3431 if (isa<DeducedTemplateSpecializationType>(Deduced)) in GetDeclSpecTypeForDeclarator() 3449 if (!IsCXXAutoType && !isa<DeducedTemplateSpecializationType>(Deduced)) in GetDeclSpecTypeForDeclarator() 3479 assert(isa<DeducedTemplateSpecializationType>(Deduced) && in GetDeclSpecTypeForDeclarator() [all …]
|
D | SemaStmt.cpp | 3528 QualType Deduced; in DeduceFunctionTypeFromReturnExpr() local 3552 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr() 3577 Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy); in DeduceFunctionTypeFromReturnExpr() 3578 if (Deduced.isNull()) in DeduceFunctionTypeFromReturnExpr() 3584 if (FD->hasAttr<CUDAGlobalAttr>() && !Deduced->isVoidType()) { in DeduceFunctionTypeFromReturnExpr() 3596 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr() 3621 Context.adjustDeducedFunctionResultType(FD, Deduced); in DeduceFunctionTypeFromReturnExpr()
|
D | SemaExprCXX.cpp | 1439 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr() local 1440 if (Deduced && isa<DeducedTemplateSpecializationType>(Deduced)) { in BuildCXXTypeConstructExpr() 1920 auto *Deduced = AllocType->getContainedDeducedType(); in BuildCXXNew() local 1921 if (Deduced && isa<DeducedTemplateSpecializationType>(Deduced)) { in BuildCXXNew() 1935 } else if (Deduced) { in BuildCXXNew()
|
D | TreeTransform.h | 981 QualType RebuildAutoType(QualType Deduced, AutoTypeKeyword Keyword, in RebuildAutoType() argument 987 return SemaRef.Context.getAutoType(Deduced, Keyword, in RebuildAutoType() 996 QualType Deduced) { in RebuildDeducedTemplateSpecializationType() argument 998 Template, Deduced, /*IsDependent*/ false); in RebuildDeducedTemplateSpecializationType() 4689 QualType Deduced = AutoTy->getDeducedType(); in RebuildQualifiedType() local 4690 Qualifiers Qs = Deduced.getQualifiers(); in RebuildQualifiedType() 4692 Deduced = in RebuildQualifiedType() 4693 SemaRef.Context.getQualifiedType(Deduced.getUnqualifiedType(), Qs); in RebuildQualifiedType() 4694 T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(), in RebuildQualifiedType()
|
D | SemaDecl.cpp | 11543 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer() local 11544 assert(Deduced && "deduceVarTypeFromInitializer for non-deduced type"); in deduceVarTypeFromInitializer() 11552 if (!isa<DeducedTemplateSpecializationType>(Deduced) || in deduceVarTypeFromInitializer() 11570 if (isa<DeducedTemplateSpecializationType>(Deduced)) { in deduceVarTypeFromInitializer() 13412 QualType Deduced; in BuildDeclaratorGroup() local 13421 if (Deduced.isNull()) { in BuildDeclaratorGroup() 13422 Deduced = DT->getDeducedType(); in BuildDeclaratorGroup() 13424 } else if (!Context.hasSameType(DT->getDeducedType(), Deduced)) { in BuildDeclaratorGroup() 13428 << (AT ? (unsigned)AT->getKeyword() : 3) << Deduced in BuildDeclaratorGroup()
|
D | SemaCodeComplete.cpp | 3431 llvm::SmallBitVector Deduced; in createCodeCompletionStringForDecl() local 3432 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in createCodeCompletionStringForDecl() 3434 for (LastDeducibleArgument = Deduced.size(); LastDeducibleArgument > 0; in createCodeCompletionStringForDecl() 3436 if (!Deduced[LastDeducibleArgument - 1]) { in createCodeCompletionStringForDecl()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 44 TemplateArgumentList *Deduced = nullptr; variable 74 : Deduced(Info.Deduced), Loc(Info.Loc), DeducedDepth(Info.DeducedDepth), in TemplateDeductionInfo() 96 TemplateArgumentList *Result = Deduced; in take() 97 Deduced = nullptr; in take() 124 Deduced = NewDeduced; in setExplicitArgs() 125 ExplicitArgs = Deduced->size(); in setExplicitArgs() 131 Deduced = NewDeduced; in reset()
|
D | Template.h | 259 void setDeducedFromArrayBound(bool Deduced) { in setDeducedFromArrayBound() argument 260 DeducedFromArrayBound = Deduced; in setDeducedFromArrayBound()
|
D | Sema.h | 8237 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 8258 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 8384 llvm::SmallBitVector &Deduced) { in MarkDeducedTemplateParameters() argument 8385 return MarkDeducedTemplateParameters(Context, FunctionTemplate, Deduced); in MarkDeducedTemplateParameters() 8389 llvm::SmallBitVector &Deduced);
|
/external/clang/include/clang/Sema/ |
D | TemplateDeduction.h | 34 TemplateArgumentList *Deduced; variable 52 : Deduced(nullptr), Loc(Loc), HasSFINAEDiagnostic(false), in TemplateDeductionInfo() 63 TemplateArgumentList *Result = Deduced; in take() 64 Deduced = nullptr; in take() 80 Deduced = NewDeduced; in reset()
|
D | Template.h | 167 void setDeducedFromArrayBound(bool Deduced) { in setDeducedFromArrayBound() argument 168 DeducedFromArrayBound = Deduced; in setDeducedFromArrayBound()
|
D | Sema.h | 6467 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 6487 SmallVectorImpl<DeducedTemplateArgument> &Deduced, 6586 llvm::SmallBitVector &Deduced) { in MarkDeducedTemplateParameters() argument 6587 return MarkDeducedTemplateParameters(Context, FunctionTemplate, Deduced); in MarkDeducedTemplateParameters() 6591 llvm::SmallBitVector &Deduced);
|
/external/llvm-project/clang/tools/libclang/ |
D | CXType.cpp | 911 if (const auto *Deduced = dyn_cast<DeducedType>(QT)) in clang_Type_getAlignOf() local 912 if (Deduced->getDeducedType().isNull()) in clang_Type_getAlignOf() 951 if (const auto *Deduced = dyn_cast<DeducedType>(QT)) in clang_Type_getSizeOf() local 952 if (Deduced->getDeducedType().isNull()) in clang_Type_getSizeOf()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Hover.cpp | 835 if (auto Deduced = getDeducedType(AST.getASTContext(), Tok.location())) { in getHover() local 836 HI = getHoverContents(*Deduced, AST.getASTContext(), Index); in getHover()
|
/external/llvm-project/clang/lib/AST/ |
D | ItaniumMangle.cpp | 3703 QualType Deduced = T->getDeducedType(); in mangleType() local 3704 if (!Deduced.isNull()) in mangleType() 3705 return mangleType(Deduced); in mangleType()
|
D | Type.cpp | 4398 QualType Deduced, AutoTypeKeyword Keyword, in Profile() argument 4401 ID.AddPointer(Deduced.getAsOpaquePtr()); in Profile()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Type.h | 5026 QualType Deduced, AutoTypeKeyword Keyword, 5062 QualType Deduced, bool IsDependent) { 5064 ID.AddPointer(Deduced.getAsOpaquePtr());
|
/external/clang/include/clang/AST/ |
D | Type.h | 4125 static void Profile(llvm::FoldingSetNodeID &ID, QualType Deduced, 4127 ID.AddPointer(Deduced.getAsOpaquePtr());
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5450 QualType Deduced = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5452 bool IsDependent = Deduced.isNull() ? Record[Idx++] : false; in readTypeRecord() 5453 return Context.getAutoType(Deduced, Keyword, IsDependent); in readTypeRecord()
|