Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td101 def AutoType : TypeNode<DeducedType>;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h343 void VisitAutoType(const AutoType *T);
H A DJSONNodeDumper.h238 void VisitAutoType(const AutoType *AT);
H A DType.h2085 friend class AutoType;
2777 AutoType *getContainedAutoType() const {
2778 return dyn_cast_or_null<AutoType>(getContainedDeducedType());
6368 class AutoType : public DeducedType, public llvm::FoldingSetNode {
6373 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
8155 return isa<AutoType>(CanonicalType);
H A DASTNodeTraverser.h461 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DTypeProperties.td499 let Class = AutoType in {
H A DRecursiveASTVisitor.h1109 DEF_TRAVERSE_TYPE(AutoType, {
1402 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h2186 AutoType,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2647 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2668 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2670 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
3451 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3627 Expr *RetExpr, const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3662 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
3860 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp1556 const auto *AT = dyn_cast<AutoType>(T); in isDependentOrGNUAutoType()
2966 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter()
3132 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3140 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator()
4241 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator()
4855 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
4856 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
4858 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator()
4871 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
6367 const AutoType *AT = TL.getTypePtr(); in ActOnTypeName()
H A DSemaTemplate.cpp1506 if (isa<AutoType>(T)) in ActOnNonTypeTemplateParameter()
5758 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) { in VisitAutoType()
6509 auto *AT = dyn_cast<AutoType>(DeducedT); in CheckTemplateArgument()
7301 const AutoType *AT = TemplateParamType->getAs<AutoType>(); in BuildExpressionFromDeclTemplateArgument()
H A DSemaTemplateDeduction.cpp4985 static bool CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints()
5053 const AutoType *AT = Type.getType()->getContainedAutoType(); in DeduceAutoType()
5141 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp414 llvm::cast<clang::AutoType>(qual_type) in CanImport()
488 llvm::cast<clang::AutoType>(qual_type) in Import()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1265 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS()
2948 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
5059 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType
5082 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
5094 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context) { in Profile()
H A DTypeLoc.cpp637 const AutoType *AT) { in createTrivialConceptReference()
H A DTypePrinter.cpp215 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
1278 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
1303 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DASTContext.cpp6196 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoTypeInternal()
6198 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoTypeInternal()
6222 void *Mem = Allocate(sizeof(AutoType) + in getAutoTypeInternal()
6224 alignof(AutoType)); in getAutoTypeInternal()
6225 auto *AT = new (Mem) AutoType( in getAutoTypeInternal()
6255 if (auto *AT = CanonT->getAs<AutoType>()) { in getUnconstrainedType()
6327 AutoDeductTy = QualType(new (*this, alignof(AutoType)) in getAutoDeductType()
6328 AutoType(QualType(), AutoTypeKeyword::Auto, in getAutoDeductType()
11102 if (const auto *AT = LHS->getAs<AutoType>()) { in mergeTypes()
11106 if (const auto *AT = RHS->getAs<AutoType>()) { in mergeTypes()
[all …]
H A DDeclPrinter.cpp173 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DDeclTemplate.cpp746 AutoType *AT = in Create()
761 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DASTDiagnostic.cpp74 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
H A DASTStructuralEquivalence.cpp1156 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
1157 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1014 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DMicrosoftMangle.cpp2868 } else if (const auto *AT = dyn_cast_or_null<AutoType>( in mangleFunctionType()
3594 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
H A DJSONNodeDumper.cpp783 void JSONNodeDumper::VisitAutoType(const AutoType *AT) { in VisitAutoType()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7225 extern const AstTypeMatcher<AutoType> autoType;
7254 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12