Home
last modified time | relevance | path

Searched refs:AutoType (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td100 def AutoType : TypeNode<DeducedType>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h332 void VisitAutoType(const AutoType *T);
H A DJSONNodeDumper.h235 void VisitAutoType(const AutoType *AT);
H A DType.h1859 friend class AutoType;
2524 AutoType *getContainedAutoType() const {
2525 return dyn_cast_or_null<AutoType>(getContainedDeducedType());
5454 class AutoType : public DeducedType, public llvm::FoldingSetNode {
5459 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
7230 return isa<AutoType>(CanonicalType);
H A DTypeProperties.td452 let Class = AutoType in {
H A DRecursiveASTVisitor.h1073 DEF_TRAVERSE_TYPE(AutoType, {
1350 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h2117 AutoType,
H A DASTContext.h239 mutable llvm::ContextualFoldingSet<AutoType, ASTContext&> AutoTypes;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp411 llvm::cast<clang::AutoType>(qual_type) in CanImport()
485 llvm::cast<clang::AutoType>(qual_type) in Import()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2806 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2819 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2821 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
3620 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3798 Expr *RetExpr, const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3833 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
4025 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp1943 const auto *AT = dyn_cast<AutoType>(T); in isDependentOrGNUAutoType()
3442 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter()
3601 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3609 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator()
4726 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator()
5287 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
5288 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
5290 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator()
5303 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
H A DSemaTemplateDeduction.cpp4854 static bool CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints()
4926 const AutoType *AT = Type.getType()->getContainedAutoType(); in DeduceAutoType()
5014 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1203 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS()
2886 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
4814 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType
4837 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
4849 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context) { in Profile()
H A DTypeLoc.cpp630 const AutoType *AT) { in createTrivialConceptReference()
H A DTypePrinter.cpp215 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
1211 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
1236 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DASTContext.cpp5753 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoTypeInternal()
5755 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoTypeInternal()
5779 void *Mem = Allocate(sizeof(AutoType) + in getAutoTypeInternal()
5781 alignof(AutoType)); in getAutoTypeInternal()
5782 auto *AT = new (Mem) AutoType( in getAutoTypeInternal()
5812 if (auto *AT = CanonT->getAs<AutoType>()) { in getUnconstrainedType()
5883 AutoDeductTy = QualType(new (*this, alignof(AutoType)) in getAutoDeductType()
10627 if (const auto *AT = LHS->getAs<AutoType>()) { in mergeTypes()
10631 if (const auto *AT = RHS->getAs<AutoType>()) { in mergeTypes()
12705 const auto *AX = cast<AutoType>(X), *AY = cast<AutoType>(Y); in getCommonNonSugarTypeNode()
[all …]
H A DDeclTemplate.cpp739 AutoType *AT = in Create()
754 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DDeclPrinter.cpp185 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DASTDiagnostic.cpp74 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
H A DASTStructuralEquivalence.cpp1138 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
1139 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp997 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DMicrosoftMangle.cpp2763 } else if (const auto *AT = dyn_cast_or_null<AutoType>( in mangleFunctionType()
3447 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
H A DJSONNodeDumper.cpp750 void JSONNodeDumper::VisitAutoType(const AutoType *AT) { in VisitAutoType()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1056 const AstTypeMatcher<AutoType> autoType;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7195 extern const AstTypeMatcher<AutoType> autoType;
7224 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12