Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DType.cpp554 public TypeVisitor<GetContainedAutoVisitor, AutoType*> {
556 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit;
557 AutoType *Visit(QualType T) { in Visit()
564 AutoType *VisitAutoType(const AutoType *AT) { in VisitAutoType()
565 return const_cast<AutoType*>(AT); in VisitAutoType()
569 AutoType *VisitPointerType(const PointerType *T) { in VisitPointerType()
572 AutoType *VisitBlockPointerType(const BlockPointerType *T) { in VisitBlockPointerType()
575 AutoType *VisitReferenceType(const ReferenceType *T) { in VisitReferenceType()
578 AutoType *VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType()
581 AutoType *VisitArrayType(const ArrayType *T) { in VisitArrayType()
[all …]
DTypePrinter.cpp164 if (const AutoType *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
816 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
825 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
DASTDiagnostic.cpp62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
DMicrosoftMangle.cpp1574 dyn_cast_or_null<AutoType>(ResultType->getContainedAutoType())) { in mangleFunctionType()
2046 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, SourceRange Range) { in mangleType()
DASTContext.cpp1684 const AutoType *A = cast<AutoType>(T); in getTypeInfoImpl()
3756 AutoType::Profile(ID, DeducedType, IsDecltypeAuto, IsDependent); in getAutoType()
3757 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoType()
3760 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType, in getAutoType()
3801 new (*this, TypeAlignment) AutoType(QualType(), /*decltype(auto)*/false, in getAutoDeductType()
DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
644 cast<AutoType>(T1)->getDeducedType(), in IsStructurallyEquivalent()
645 cast<AutoType>(T2)->getDeducedType())) in IsStructurallyEquivalent()
1695 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) { in VisitAutoType()
DItaniumMangle.cpp2489 void CXXNameMangler::mangleType(const AutoType *T) { in mangleType()
DExpr.cpp605 (FT && FT->getReturnType()->getAs<AutoType>())) in ComputeName()
/external/clang/lib/Sema/
DSemaStmt.cpp2134 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2145 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2147 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2600 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2729 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
2775 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
2791 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr()
2870 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
DSemaType.cpp2509 if (const AutoType *AT = T->getAs<AutoType>()) { in GetFullTypeForDeclarator()
2670 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
2715 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
2716 cast<AutoType>(T)->isDecltypeAuto())) { in GetFullTypeForDeclarator()
DSemaTemplateDeduction.cpp3986 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
4981 cast<AutoType>(T)->getDeducedType(), in MarkUsedTemplateParameters()
DTreeTransform.h3638 const AutoType *AutoTy; in TransformQualifiedType()
3651 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) { in TransformQualifiedType()
4739 const AutoType *T = TL.getTypePtr(); in TransformAutoType()
DSemaDecl.cpp2615 AutoType *OldAT = Old->getReturnType()->getContainedAutoType(); in MergeFunctionDecl()
9362 AutoType *AT = D->getType()->getContainedAutoType(); in BuildDeclaratorGroup()
10091 if (!FD->getReturnType()->getAs<AutoType>()) { in ActOnFinishFunctionBody()
DSemaTemplate.cpp4030 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) { in VisitAutoType()
DSemaExpr.cpp12247 QTy = cast<AutoType>(Ty)->getDeducedType(); in tryCaptureVariable()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3141 AST_TYPE_MATCHER(AutoType, autoType);
3158 AST_POLYMORPHIC_SUPPORTED_TYPES_1(AutoType));
/external/clang/include/clang/AST/
DType.h1331 friend class AutoType;
1698 AutoType *getContainedAutoType() const;
3657 class AutoType : public Type, public llvm::FoldingSetNode {
3658 AutoType(QualType DeducedType, bool IsDecltypeAuto,
5140 const AutoType *AT = getContainedAutoType();
DDataRecursiveASTVisitor.h896 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1107 DEF_TRAVERSE_TYPELOC(AutoType, {
DRecursiveASTVisitor.h961 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1172 DEF_TRAVERSE_TYPELOC(AutoType, {
DTypeLoc.h1629 AutoType> {
DASTContext.h119 mutable llvm::FoldingSet<AutoType> AutoTypes;
/external/clang/include/clang/Sema/
DSema.h6041 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
6051 Expr *&RetExpr, AutoType *AT);
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2020 QualType DT = cast<AutoType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()
/external/lldb/source/Symbol/
DClangASTType.cpp1973 return ClangASTType (m_ast, cast<AutoType>(qual_type)->desugar()).GetFormat(); in GetFormat()
/external/clang/lib/Serialization/
DASTWriter.cpp265 void ASTTypeWriter::VisitAutoType(const AutoType *T) { in VisitAutoType()