Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td98 def AutoType : TypeNode<DeducedType>;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h318 void VisitAutoType(const AutoType *T);
H A DTemplateBase.h717 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
H A DJSONNodeDumper.h223 void VisitAutoType(const AutoType *AT);
H A DType.h1701 friend class AutoType;
2273 AutoType *getContainedAutoType() const {
2274 return dyn_cast_or_null<AutoType>(getContainedDeducedType());
4982 class alignas(8) AutoType : public DeducedType, public llvm::FoldingSetNode {
4987 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword,
6815 return isa<AutoType>(CanonicalType);
H A DTypeProperties.td431 let Class = AutoType in {
H A DRecursiveASTVisitor.h1000 DEF_TRAVERSE_TYPE(AutoType, {
1274 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h2057 AutoType,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2749 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2762 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2764 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
3562 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3736 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3787 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
3812 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr()
3956 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp3222 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter()
3378 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3386 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator()
4473 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator()
4945 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
5012 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
5013 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator()
5015 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator()
5026 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
H A DSemaTemplateDeduction.cpp4682 CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints()
4769 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
4852 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType()
4900 if (const auto *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp410 llvm::cast<clang::AutoType>(qual_type) in CanImport()
484 llvm::cast<clang::AutoType>(qual_type) in Import()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp204 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
1127 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
1152 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DType.cpp1170 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS()
2600 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
4394 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType
4413 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
H A DDeclTemplate.cpp721 AutoType *AT = in Create()
736 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DDeclPrinter.cpp166 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DASTDiagnostic.cpp67 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
H A DASTStructuralEquivalence.cpp983 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
984 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp858 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DASTContext.cpp842 if (AutoType *AT = T->getContainedAutoType()) { in getCanonicalTemplateTemplateParmDecl()
5543 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoType()
5545 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoType()
5548 void *Mem = Allocate(sizeof(AutoType) + in getAutoType()
5551 auto *AT = new (Mem) AutoType( in getAutoType()
5617 AutoType(QualType(), AutoTypeKeyword::Auto, in getAutoDeductType()
H A DMicrosoftMangle.cpp2595 } else if (const auto *AT = dyn_cast_or_null<AutoType>( in mangleFunctionType()
3262 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
H A DJSONNodeDumper.cpp683 void JSONNodeDumper::VisitAutoType(const AutoType *AT) { in VisitAutoType()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h179 llvm::DIType *CreateType(const AutoType *Ty);
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1028 const AstTypeMatcher<AutoType> autoType;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6556 extern const AstTypeMatcher<AutoType> autoType;
6585 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12