/external/clang/lib/AST/ |
D | Type.cpp | 961 QualType VisitAutoType(const AutoType *T) { in TRIVIAL_TYPE_CLASS() 1543 public TypeVisitor<GetContainedAutoVisitor, AutoType*> { 1545 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit; 1546 AutoType *Visit(QualType T) { in Visit() 1553 AutoType *VisitAutoType(const AutoType *AT) { in VisitAutoType() 1554 return const_cast<AutoType*>(AT); in VisitAutoType() 1558 AutoType *VisitPointerType(const PointerType *T) { in VisitPointerType() 1561 AutoType *VisitBlockPointerType(const BlockPointerType *T) { in VisitBlockPointerType() 1564 AutoType *VisitReferenceType(const ReferenceType *T) { in VisitReferenceType() 1567 AutoType *VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType() [all …]
|
D | TypePrinter.cpp | 171 if (const AutoType *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers() 868 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore() 881 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
|
D | DeclPrinter.cpp | 135 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | ForRangeCopyCheck.cpp | 75 if (!isa<AutoType>(LoopVar.getType())) in handleConstValueCopy()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | OwningMemoryCheck.cpp | 330 if (Nodes.getNodeAs<AutoType>("deduced_type")) { in handleAssignmentFromNewOwner()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | QualifiedAutoCheck.cpp | 98 cast<AutoType>(QType->getPointeeType().getTypePtr())->desugar(); in isAutoPointerConst()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TypeNodes.td | 98 def AutoType : TypeNode<DeducedType>;
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2222 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local 2233 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 2235 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 2887 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt() 3064 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr() 3109 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr() 3126 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr() 3227 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
|
/external/llvm-project/clang/include/clang/AST/ |
D | TextNodeDumper.h | 315 void VisitAutoType(const AutoType *T);
|
D | JSONNodeDumper.h | 221 void VisitAutoType(const AutoType *AT);
|
D | TemplateBase.h | 715 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
|
D | Type.h | 1694 friend class AutoType; 2265 AutoType *getContainedAutoType() const { 2266 return dyn_cast_or_null<AutoType>(getContainedDeducedType()); 4970 class alignas(8) AutoType : public DeducedType, public llvm::FoldingSetNode { 4975 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, 6783 return isa<AutoType>(CanonicalType);
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | AST.cpp | 379 const AutoType *AT = D->getReturnType()->getContainedAutoType(); in VisitFunctionDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 2456 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local 2469 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 2471 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 3341 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt() 3520 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr() 3571 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr() 3596 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr() 3716 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
|
D | SemaType.cpp | 3173 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter() 3308 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator() 3316 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator() 4403 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator() 4875 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator() 4942 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator() 4943 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator() 4945 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator() 4956 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangASTImporter.cpp | 413 llvm::cast<clang::AutoType>(qual_type) in CanImport() 489 llvm::cast<clang::AutoType>(qual_type) in Import()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseTrailingReturnTypeCheck.cpp | 433 const auto *AT = F->getDeclaredReturnType()->getAs<AutoType>(); in check()
|
/external/llvm-project/clang/lib/AST/ |
D | TypePrinter.cpp | 201 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers() 1119 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore() 1142 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
|
D | Type.cpp | 1170 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS() 2593 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType() 4378 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType 4397 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
|
D | DeclTemplate.cpp | 695 AutoType *AT = in Create() 710 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
|
D | DeclPrinter.cpp | 161 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 5599 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5617 EXPECT_TRUE(isa<AutoType>(FPT->getReturnType())); in TEST_P() 5635 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5652 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5672 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5691 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5708 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 5727 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P()
|
/external/clang/include/clang/AST/ |
D | Type.h | 1469 friend class AutoType; 1865 AutoType *getContainedAutoType() const; 4087 class AutoType : public Type, public llvm::FoldingSetNode { 4088 AutoType(QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent) 5753 const AutoType *AT = getContainedAutoType();
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 170 llvm::DIType *CreateType(const AutoType *Ty);
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4564 AST_TYPE_MATCHER(AutoType, autoType); 4581 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));
|