Home
last modified time | relevance | path

Searched refs:getDeducedType (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h154 llvm::Optional<QualType> getDeducedType(ASTContext &, SourceLocation Loc);
H A DAST.cpp480 if (AT && !AT->getDeducedType().isNull()) { in VisitFunctionDecl()
481 DeducedType = AT->getDeducedType(); in VisitFunctionDecl()
563 llvm::Optional<QualType> getDeducedType(ASTContext &ASTCtx, in getDeducedType() function
H A DSemanticHighlighting.cpp632 kindForType(AT->getDeducedType().getTypePtrOrNull(), H.getResolver()); in VisitDeclaratorDecl()
644 const Type *Deduced = AT->getDeducedType().getTypePtrOrNull(); in VisitDeclaratorDecl()
H A DDumpAST.cpp262 return DT->getDeducedType().getAsString(Ctx.getPrintingPolicy()); in getDetail()
H A DInlayHints.cpp283 if (!AT || AT->getDeducedType().isNull()) in addReturnTypeHint()
H A DFindTarget.cpp382 Outer.add(DT->getDeducedType(), Flags); in add()
H A DXRefs.cpp789 if (auto Deduced = getDeducedType(AST.getASTContext(), Tok.location())) { in locateSymbolAt()
1806 if (auto Deduced = getDeducedType( in typeForNode()
H A DHover.cpp1011 if (auto Deduced = getDeducedType(AST.getASTContext(), Tok.location())) { in getHover()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExpandAutoType.cpp118 getDeducedType(Inputs.AST->getASTContext(), AutoRange.getBegin()); in apply()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypePrinter.cpp1169 if (!T->getDeducedType().isNull()) { in printAutoBefore()
1170 printBefore(T->getDeducedType(), OS); in printAutoBefore()
1194 if (!T->getDeducedType().isNull()) in printAutoAfter()
1195 printAfter(T->getDeducedType(), OS); in printAutoAfter()
1201 if (!T->getDeducedType().isNull()) { in printDeducedTemplateSpecializationBefore()
1202 printBefore(T->getDeducedType(), OS); in printDeducedTemplateSpecializationBefore()
1213 if (!T->getDeducedType().isNull()) in printDeducedTemplateSpecializationAfter()
1214 printAfter(T->getDeducedType(), OS); in printDeducedTemplateSpecializationAfter()
H A DASTStructuralEquivalence.cpp999 if (!IsStructurallyEquivalent(Context, Auto1->getDeducedType(), in IsStructurallyEquivalent()
1000 Auto2->getDeducedType())) in IsStructurallyEquivalent()
1028 if (!IsStructurallyEquivalent(Context, DT1->getDeducedType(), in IsStructurallyEquivalent()
1029 DT2->getDeducedType())) in IsStructurallyEquivalent()
H A DODRHash.cpp855 AddQualType(T->getDeducedType()); in VisitDeducedType()
H A DItaniumMangle.cpp2791 if (DeducedTST->getDeducedType().isNull()) in isTypeSubstitutable()
3996 assert(T->getDeducedType().isNull() && in mangleType()
4006 QualType Deduced = T->getDeducedType(); in mangleType()
H A DMicrosoftMangle.cpp3301 assert(T->getDeducedType().isNull() && "expecting a dependent type!"); in mangleType()
3312 assert(T->getDeducedType().isNull() && "expecting a dependent type!"); in mangleType()
H A DDeclPrinter.cpp168 BaseType = ATy->getDeducedType(); in GetBaseType()
H A DType.cpp1180 QualType deducedType = recurse(T->getDeducedType()); in SUGARED_TYPE_CLASS()
1185 == T->getDeducedType().getAsOpaquePtr()) in SUGARED_TYPE_CLASS()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td446 let Read = [{ makeOptionalFromNullable(node->getDeducedType()) }];
461 let Read = [{ !node->getDeducedType().isNull() ? 0 :
480 let Read = [{ node->getDeducedType() }];
484 let Read = [{ !node->getDeducedType().isNull()
H A DRecursiveASTVisitor.h1097 TRY_TO(TraverseType(T->getDeducedType()));
1104 TRY_TO(TraverseType(T->getDeducedType()));
1374 TRY_TO(TraverseType(TL.getTypePtr()->getDeducedType()));
1385 TRY_TO(TraverseType(TL.getTypePtr()->getDeducedType()));
H A DType.h5094 QualType getDeducedType() const { return DeducedAsType; }
5162 Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(),
5201 Profile(ID, getTemplateName(), getDeducedType(), isDependentType());
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp476 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getPointeeType()
524 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getTypeDeclaration()
923 if (Deduced->getDeducedType().isNull()) in clang_Type_getAlignOf()
963 if (Deduced->getDeducedType().isNull()) in clang_Type_getSizeOf()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DASTTests.cpp246 auto DeducedType = getDeducedType(AST.getASTContext(), *Location); in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp411 ->getDeducedType() in CanImport()
485 ->getDeducedType() in Import()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp3854 QualType DeducedT = AT->getDeducedType(); in DeduceFunctionTypeFromReturnExpr()
3859 if (NewAT->getDeducedType().isNull()) in DeduceFunctionTypeFromReturnExpr()
3865 NewAT->getDeducedType()); in DeduceFunctionTypeFromReturnExpr()
3870 << NewAT->getDeducedType() << DeducedT in DeduceFunctionTypeFromReturnExpr()
3875 << NewAT->getDeducedType() << DeducedT; in DeduceFunctionTypeFromReturnExpr()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1022 QualType DT = S->getDeducedType();
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1693 Elts.push_back(getOrCreateType(AT->getDeducedType(), Unit)); in getOrCreateInstanceMethodType()
3319 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()
5527 if (AT->getDeducedType().isNull()) in EmitUsingDecl()

12