Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DConcept.cpp81 bool VisitAutoType(AutoType *) { in VisitAutoType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DForRangeCopyCheck.cpp79 if (!isa<AutoType>(LoopVar.getType())) in handleConstValueCopy()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp98 cast<AutoType>(QType->getPointeeType().getTypePtr())->desugar(); in isAutoPointerConst()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td100 def AutoType : TypeNode<DeducedType>;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTextNodeDumper.h320 void VisitAutoType(const AutoType *T);
H A DTemplateBase.h723 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
H A DJSONNodeDumper.h223 void VisitAutoType(const AutoType *AT);
H A DType.h1775 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 DTypeProperties.td444 let Class = AutoType in {
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp2787 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 DSemaType.cpp1903 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 DSemaTemplateDeduction.cpp4558 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 DClangASTImporter.cpp410 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 DUseTrailingReturnTypeCheck.cpp413 const auto *AT = F->getDeclaredReturnType()->getAs<AutoType>(); in check()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp6338 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 DType.cpp1176 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 DTypePrinter.cpp219 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 DDeclTemplate.cpp731 AutoType *AT = in Create()
746 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
H A DDeclPrinter.cpp167 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
H A DASTDiagnostic.cpp73 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in desugarForDiagnostic()
H A DASTStructuralEquivalence.cpp997 auto *Auto1 = cast<AutoType>(T1); in IsStructurallyEquivalent()
998 auto *Auto2 = cast<AutoType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp859 void VisitAutoType(const AutoType *T) { in VisitAutoType()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.h180 llvm::DIType *CreateType(const AutoType *Ty);
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp479 const AutoType *AT = D->getReturnType()->getContainedAutoType(); in VisitFunctionDecl()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1044 const AstTypeMatcher<AutoType> autoType;

12