Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DTypeNodes.td98 def AutoType : TypeNode<DeducedType>;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DTextNodeDumper.h318 void VisitAutoType(const AutoType *T);
DTemplateBase.h717 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
DJSONNodeDumper.h223 void VisitAutoType(const AutoType *AT);
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);
DTypeProperties.td431 let Class = AutoType in {
DRecursiveASTVisitor.h1000 DEF_TRAVERSE_TYPE(AutoType, {
1274 DEF_TRAVERSE_TYPELOC(AutoType, {
DTypeLoc.h2057 AutoType,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
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()
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()
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-12-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.cpp410 llvm::cast<clang::AutoType>(qual_type) in CanImport()
484 llvm::cast<clang::AutoType>(qual_type) in Import()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
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()
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()
DDeclTemplate.cpp721 AutoType *AT = in Create()
736 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
DDeclPrinter.cpp166 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
DASTDiagnostic.cpp67 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
DASTStructuralEquivalence.cpp983 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
984 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
DODRHash.cpp858 void VisitAutoType(const AutoType *T) { in VisitAutoType()
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()
DMicrosoftMangle.cpp2595 } else if (const auto *AT = dyn_cast_or_null<AutoType>( in mangleFunctionType()
3262 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
DJSONNodeDumper.cpp683 void JSONNodeDumper::VisitAutoType(const AutoType *AT) { in VisitAutoType()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.h179 llvm::DIType *CreateType(const AutoType *Ty);
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp1028 const AstTypeMatcher<AutoType> autoType;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h6556 extern const AstTypeMatcher<AutoType> autoType;
6585 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

12