Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTypeNodes.td100 def AutoType : TypeNode<DeducedType>;
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTextNodeDumper.h323 void VisitAutoType(const AutoType *T);
H A DJSONNodeDumper.h227 void VisitAutoType(const AutoType *AT);
H A DType.h1785 friend class AutoType;
2413 AutoType *getContainedAutoType() const {
2414 return dyn_cast_or_null<AutoType>(getContainedDeducedType());
5251 class alignas(8) AutoType : public DeducedType, public llvm::FoldingSetNode {
5256 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
7040 return isa<AutoType>(CanonicalType);
H A DTypeProperties.td448 let Class = AutoType in {
H A DRecursiveASTVisitor.h1079 DEF_TRAVERSE_TYPE(AutoType, {
1356 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h2118 AutoType,
H A DASTContext.h234 mutable llvm::ContextualFoldingSet<AutoType, ASTContext&> AutoTypes;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp2796 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2809 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2811 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
3608 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3781 Expr *RetExpr, const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3816 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
3990 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp1925 const auto *AT = dyn_cast<AutoType>(T); in isDependentOrGNUAutoType()
3349 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter()
3507 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3515 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator()
4621 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator()
5099 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
5166 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
5167 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
5169 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator()
5180 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
H A DSemaTemplateDeduction.cpp4637 static bool CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints()
4709 const AutoType *AT = Type.getType()->getContainedAutoType(); in DeduceAutoType()
4781 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp1181 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS()
2683 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
4541 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType
4561 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
4573 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context) { in Profile()
H A DTypePrinter.cpp215 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
1155 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
1180 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DDeclTemplate.cpp742 AutoType *AT = in Create()
757 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DDeclPrinter.cpp169 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DASTContext.cpp853 if (AutoType *AT = T->getContainedAutoType()) { in getCanonicalTemplateTemplateParmDecl()
5768 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoTypeInternal()
5770 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoTypeInternal()
5787 void *Mem = Allocate(sizeof(AutoType) + in getAutoTypeInternal()
5790 auto *AT = new (Mem) AutoType( in getAutoTypeInternal()
5872 AutoType(QualType(), AutoTypeKeyword::Auto, in getAutoDeductType()
10517 if (const auto *AT = LHS->getAs<AutoType>()) { in mergeTypes()
10521 if (const auto *AT = RHS->getAs<AutoType>()) { in mergeTypes()
12564 const auto *AX = cast<AutoType>(X), *AY = cast<AutoType>(Y); in getCommonNonSugarTypeNode()
12913 const auto *AX = cast<AutoType>(X), *AY = cast<AutoType>(Y); in getCommonSugarTypeNode()
H A DASTDiagnostic.cpp73 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
H A DASTStructuralEquivalence.cpp1054 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
1055 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1013 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DMicrosoftMangle.cpp2639 } else if (const auto *AT = dyn_cast_or_null<AutoType>( in mangleFunctionType()
3310 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
H A DJSONNodeDumper.cpp706 void JSONNodeDumper::VisitAutoType(const AutoType *AT) { in VisitAutoType()
H A DTextNodeDumper.cpp1591 void TextNodeDumper::VisitAutoType(const AutoType *T) { in VisitAutoType()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1045 const AstTypeMatcher<AutoType> autoType;
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6931 extern const AstTypeMatcher<AutoType> autoType;
6960 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12