Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp293 void VisitAutoType(const AutoType *T) { VisitDeducedType(T); } in VisitAutoType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td103 def AutoType : TypeNode<DeducedType>;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h344 void VisitAutoType(const AutoType *T);
H A DJSONNodeDumper.h238 void VisitAutoType(const AutoType *AT);
H A DType.h2097 friend class AutoType;
2855 AutoType *getContainedAutoType() const {
2856 return dyn_cast_or_null<AutoType>(getContainedDeducedType());
6737 class AutoType : public DeducedType {
6742 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
8544 return isa<AutoType>(CanonicalType);
H A DASTNodeTraverser.h490 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DTypeProperties.td491 let Class = AutoType in {
H A DRecursiveASTVisitor.h1114 DEF_TRAVERSE_TYPE(AutoType, {
1419 DEF_TRAVERSE_TYPELOC(AutoType, {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2756 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2777 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2779 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
3559 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3737 Expr *RetExpr, const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3772 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
3980 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp1577 const auto *AT = dyn_cast<AutoType>(T); in isDependentOrGNUAutoType()
3018 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter()
3184 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3192 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator()
4294 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator()
4905 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
4906 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
4908 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator()
4929 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
6385 const AutoType *AT = TL.getTypePtr(); in ActOnTypeName()
H A DSemaTemplate.cpp1512 if (isa<AutoType>(T)) in ActOnNonTypeTemplateParameter()
6178 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) { in VisitAutoType()
6952 auto *AT = dyn_cast<AutoType>(DeducedT); in CheckTemplateArgument()
7764 const AutoType *AT = TemplateParamType->getAs<AutoType>(); in BuildExpressionFromDeclTemplateArgument()
H A DSemaTemplateDeduction.cpp5099 static bool CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints()
5166 const AutoType *AT = Type.getType()->getContainedAutoType(); in DeduceAutoType()
5254 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp413 llvm::cast<clang::AutoType>(qual_type) in CanImport()
487 llvm::cast<clang::AutoType>(qual_type) in Import()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1314 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS()
3053 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
5359 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType
5382 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
5394 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context) { in Profile()
H A DTypeLoc.cpp651 const AutoType *AT) { in createTrivialConceptReference()
H A DTypePrinter.cpp214 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
1323 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
1348 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DDeclTemplate.cpp786 AutoType *AT = in Create()
805 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DDeclPrinter.cpp177 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DASTDiagnostic.cpp76 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
H A DASTContext.cpp6625 AutoType::Profile(ID, *this, DeducedType, Keyword, in getAutoTypeInternal()
6648 void *Mem = Allocate(sizeof(AutoType) + in getAutoTypeInternal()
6650 alignof(AutoType)); in getAutoTypeInternal()
6651 auto *AT = new (Mem) AutoType( in getAutoTypeInternal()
6686 if (auto *AT = CanonT->getAs<AutoType>()) { in getUnconstrainedType()
6774 AutoDeductTy = QualType(new (*this, alignof(AutoType)) in getAutoDeductType()
6775 AutoType(QualType(), AutoTypeKeyword::Auto, in getAutoDeductType()
11692 if (const auto *AT = LHS->getAs<AutoType>()) { in mergeTypes()
11696 if (const auto *AT = RHS->getAs<AutoType>()) { in mergeTypes()
13998 const auto *AX = cast<AutoType>(X), *AY = cast<AutoType>(Y); in getCommonNonSugarTypeNode()
[all …]
H A DASTStructuralEquivalence.cpp1261 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
1262 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1042 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DMicrosoftMangle.cpp2530 if (isa<AutoType>(T)) { in mangleAutoReturnType()
3686 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1087 const AstTypeMatcher<AutoType> autoType;
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7272 extern const AstTypeMatcher<AutoType> autoType;
7301 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12