Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DType.cpp961 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 …]
DTypePrinter.cpp171 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()
DDeclPrinter.cpp135 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DForRangeCopyCheck.cpp75 if (!isa<AutoType>(LoopVar.getType())) in handleConstValueCopy()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp330 if (Nodes.getNodeAs<AutoType>("deduced_type")) { in handleAssignmentFromNewOwner()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp98 cast<AutoType>(QType->getPointeeType().getTypePtr())->desugar(); in isAutoPointerConst()
/external/llvm-project/clang/include/clang/Basic/
DTypeNodes.td98 def AutoType : TypeNode<DeducedType>;
/external/clang/lib/Sema/
DSemaStmt.cpp2222 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/
DTextNodeDumper.h315 void VisitAutoType(const AutoType *T);
DJSONNodeDumper.h221 void VisitAutoType(const AutoType *AT);
DTemplateBase.h715 inline const TemplateArgument &AutoType::getArg(unsigned Idx) const {
DType.h1694 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/
DAST.cpp379 const AutoType *AT = D->getReturnType()->getContainedAutoType(); in VisitFunctionDecl()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp2456 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()
DSemaType.cpp3173 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/
DClangASTImporter.cpp413 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/
DUseTrailingReturnTypeCheck.cpp433 const auto *AT = F->getDeclaredReturnType()->getAs<AutoType>(); in check()
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp201 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()
DType.cpp1170 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()
DDeclTemplate.cpp695 AutoType *AT = in Create()
710 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
DDeclPrinter.cpp161 else if (const AutoType *ATy = BaseType->getAs<AutoType>()) in GetBaseType()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp5599 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/
DType.h1469 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/
DCGDebugInfo.h170 llvm::DIType *CreateType(const AutoType *Ty);
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4564 AST_TYPE_MATCHER(AutoType, autoType);
4581 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));

123