| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | Concept.cpp | 81 bool VisitAutoType(AutoType *) { in VisitAutoType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | ForRangeCopyCheck.cpp | 79 if (!isa<AutoType>(LoopVar.getType())) in handleConstValueCopy()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | QualifiedAutoCheck.cpp | 98 cast<AutoType>(QType->getPointeeType().getTypePtr())->desugar(); in isAutoPointerConst()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 100 def AutoType : TypeNode<DeducedType>;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TextNodeDumper.h | 320 void VisitAutoType(const AutoType *T);
|
| H A D | TemplateBase.h | 723 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
|
| H A D | JSONNodeDumper.h | 223 void VisitAutoType(const AutoType *AT);
|
| H A D | Type.h | 1775 friend class AutoType; 2349 AutoType *getContainedAutoType() const { 2350 return dyn_cast_or_null<AutoType>(getContainedDeducedType()); 5107 class alignas(8) AutoType : public DeducedType, public llvm::FoldingSetNode { 5112 AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, 6953 return isa<AutoType>(CanonicalType);
|
| H A D | TypeProperties.td | 444 let Class = AutoType in {
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2787 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local 2800 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 2802 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() 3599 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt() 3773 const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr() 3822 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr() 3856 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr() 3998 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
|
| H A D | SemaType.cpp | 1903 const auto *AT = dyn_cast<AutoType>(T); in isDependentOrGNUAutoType() 3282 TypeSourceInfo *TrailingTSI, AutoType *Auto, in InventTemplateParameter() 3440 if (Deduced && isa<AutoType>(Deduced) && D.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator() 3448 AutoType *Auto = dyn_cast<AutoType>(Deduced); in GetDeclSpecTypeForDeclarator() 4554 const AutoType *AT = T->getAs<AutoType>(); in GetFullTypeForDeclarator() 5028 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator() 5095 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator() 5096 cast<AutoType>(T)->getKeyword() != in GetFullTypeForDeclarator() 5098 cast<AutoType>(T)->isConstrained())) { in GetFullTypeForDeclarator() 5109 } else if (AutoType *Auto = T->getContainedAutoType()) { in GetFullTypeForDeclarator()
|
| H A D | SemaTemplateDeduction.cpp | 4558 CheckDeducedPlaceholderConstraints(Sema &S, const AutoType &Type, in CheckDeducedPlaceholderConstraints() 4645 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType() 4724 if (!Type.getType().getNonReferenceType()->getAs<AutoType>()) in DeduceAutoType() 4775 if (const auto *AT = MaybeAuto->getAs<AutoType>()) { in DeduceAutoType()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.cpp | 410 llvm::cast<clang::AutoType>(qual_type) in CanImport() 484 llvm::cast<clang::AutoType>(qual_type) in Import()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 413 const auto *AT = F->getDeclaredReturnType()->getAs<AutoType>(); in check()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 6338 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6356 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6374 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6393 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6445 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6481 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6498 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6518 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6537 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() 6554 EXPECT_TRUE(isa<AutoType>(To->getReturnType())); in TEST_P() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 1176 QualType VisitAutoType(const AutoType *T) { in SUGARED_TYPE_CLASS() 2643 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType() 4459 AutoType::AutoType(QualType DeducedAsType, AutoTypeKeyword Keyword, in AutoType() function in AutoType 4478 void AutoType::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile()
|
| H A D | TypePrinter.cpp | 219 if (const auto *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers() 1167 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore() 1192 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
|
| H A D | DeclTemplate.cpp | 731 AutoType *AT = in Create() 746 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
|
| H A D | DeclPrinter.cpp | 167 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
|
| H A D | ASTDiagnostic.cpp | 73 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
|
| H A D | ASTStructuralEquivalence.cpp | 997 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent() 998 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 859 void VisitAutoType(const AutoType *T) { in VisitAutoType()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 180 llvm::DIType *CreateType(const AutoType *Ty);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 479 const AutoType *AT = D->getReturnType()->getContainedAutoType(); in VisitFunctionDecl()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1044 const AstTypeMatcher<AutoType> autoType;
|