Home
last modified time | relevance | path

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

12

/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()
DASTDiagnostic.cpp63 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
DASTContext.cpp1781 const AutoType *A = cast<AutoType>(T); in getTypeInfoImpl()
4048 AutoType::Profile(ID, DeducedType, Keyword, IsDependent); in getAutoType()
4049 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoType()
4052 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType, in getAutoType()
4093 new (*this, TypeAlignment) AutoType(QualType(), AutoTypeKeyword::Auto, in getAutoDeductType()
DMicrosoftMangle.cpp1874 dyn_cast_or_null<AutoType>(ResultType->getContainedAutoType())) { in mangleFunctionType()
2412 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, Qualifiers, in mangleType()
DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
744 cast<AutoType>(T1)->getDeducedType(), in IsStructurallyEquivalent()
745 cast<AutoType>(T2)->getDeducedType())) in IsStructurallyEquivalent()
1822 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) { in VisitAutoType()
DASTDumper.cpp382 void VisitAutoType(const AutoType *T) { in VisitAutoType()
DItaniumMangle.cpp3048 void CXXNameMangler::mangleType(const AutoType *T) { in mangleType()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp985 const clang::AutoType* auto_type = in CheckVarDecl()
986 non_reference_type->getAs<clang::AutoType>(); in CheckVarDecl()
/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()
DSemaType.cpp3516 if (const AutoType *AT = T->getAs<AutoType>()) { in GetFullTypeForDeclarator()
3955 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
4000 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
4001 cast<AutoType>(T)->getKeyword() != AutoTypeKeyword::Auto)) { in GetFullTypeForDeclarator()
DSemaTemplateDeduction.cpp4005 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
4940 cast<AutoType>(T)->getDeducedType(), in MarkUsedTemplateParameters()
DTreeTransform.h4057 const AutoType *AutoTy; in TransformQualifiedType()
4070 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) { in TransformQualifiedType()
5307 const AutoType *T = TL.getTypePtr(); in TransformAutoType()
DSemaDecl.cpp2963 AutoType *OldAT = Old->getReturnType()->getContainedAutoType(); in MergeFunctionDecl()
10712 AutoType *AT = D->getType()->getContainedAutoType(); in BuildDeclaratorGroup()
11457 if (!FD->getReturnType()->getAs<AutoType>()) { in ActOnFinishFunctionBody()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp303 if (auto* auto_type = type->getAs<clang::AutoType>()) { in run()
/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();
DRecursiveASTVisitor.h1000 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1219 DEF_TRAVERSE_TYPELOC(AutoType, {
DTypeLoc.h1713 AutoType> {
DASTContext.h134 mutable llvm::FoldingSet<AutoType> AutoTypes;
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4564 AST_TYPE_MATCHER(AutoType, autoType);
4581 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));
/external/clang/tools/libclang/
DCXType.cpp418 TP = cast<AutoType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getTypeDeclaration()
/external/clang/include/clang/Sema/
DSema.h6536 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
6553 Expr *&RetExpr, AutoType *AT);
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2302 QualType DT = cast<AutoType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()
/external/clang/lib/Serialization/
DASTWriter.cpp313 void ASTTypeWriter::VisitAutoType(const AutoType *T) { in VisitAutoType()

12