Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DType.cpp550 public TypeVisitor<GetContainedAutoVisitor, AutoType*> {
552 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit;
553 AutoType *Visit(QualType T) { in Visit()
560 AutoType *VisitAutoType(const AutoType *AT) { in VisitAutoType()
561 return const_cast<AutoType*>(AT); in VisitAutoType()
565 AutoType *VisitPointerType(const PointerType *T) { in VisitPointerType()
568 AutoType *VisitBlockPointerType(const BlockPointerType *T) { in VisitBlockPointerType()
571 AutoType *VisitReferenceType(const ReferenceType *T) { in VisitReferenceType()
574 AutoType *VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType()
577 AutoType *VisitArrayType(const ArrayType *T) { in VisitArrayType()
[all …]
DTypePrinter.cpp168 if (const AutoType *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
833 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
842 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
DASTDiagnostic.cpp62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
DASTContext.cpp1706 const AutoType *A = cast<AutoType>(T); in getTypeInfoImpl()
3834 AutoType::Profile(ID, DeducedType, IsDecltypeAuto, IsDependent); in getAutoType()
3835 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoType()
3838 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType, in getAutoType()
3879 new (*this, TypeAlignment) AutoType(QualType(), /*decltype(auto)*/false, in getAutoDeductType()
DMicrosoftMangle.cpp1663 dyn_cast_or_null<AutoType>(ResultType->getContainedAutoType())) { in mangleFunctionType()
2140 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, SourceRange Range) { in mangleType()
DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
646 cast<AutoType>(T1)->getDeducedType(), in IsStructurallyEquivalent()
647 cast<AutoType>(T2)->getDeducedType())) in IsStructurallyEquivalent()
1696 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) { in VisitAutoType()
DASTDumper.cpp376 void VisitAutoType(const AutoType *T) { in VisitAutoType()
DItaniumMangle.cpp2525 void CXXNameMangler::mangleType(const AutoType *T) { in mangleType()
/external/clang/lib/Sema/
DSemaStmt.cpp2158 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2169 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2171 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2786 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2960 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
3010 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
3026 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr()
3107 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
DSemaType.cpp2552 if (const AutoType *AT = T->getAs<AutoType>()) { in GetFullTypeForDeclarator()
2713 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
2758 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
2759 cast<AutoType>(T)->isDecltypeAuto())) { in GetFullTypeForDeclarator()
DSemaTemplateDeduction.cpp3945 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
4867 cast<AutoType>(T)->getDeducedType(), in MarkUsedTemplateParameters()
DTreeTransform.h3763 const AutoType *AutoTy; in TransformQualifiedType()
3776 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) { in TransformQualifiedType()
4976 const AutoType *T = TL.getTypePtr(); in TransformAutoType()
DSemaDecl.cpp2775 AutoType *OldAT = Old->getReturnType()->getContainedAutoType(); in MergeFunctionDecl()
9834 AutoType *AT = D->getType()->getContainedAutoType(); in BuildDeclaratorGroup()
10561 if (!FD->getReturnType()->getAs<AutoType>()) { in ActOnFinishFunctionBody()
DSemaTemplate.cpp4043 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) { in VisitAutoType()
DSemaExpr.cpp12970 QTy = cast<AutoType>(Ty)->getDeducedType(); in tryCaptureVariable()
/external/clang/include/clang/AST/
DType.h1353 friend class AutoType;
1726 AutoType *getContainedAutoType() const;
3713 class AutoType : public Type, public llvm::FoldingSetNode {
3714 AutoType(QualType DeducedType, bool IsDecltypeAuto,
5196 const AutoType *AT = getContainedAutoType();
DDataRecursiveASTVisitor.h902 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1116 DEF_TRAVERSE_TYPELOC(AutoType, {
DRecursiveASTVisitor.h967 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1181 DEF_TRAVERSE_TYPELOC(AutoType, {
DTypeLoc.h1631 AutoType> {
DASTContext.h129 mutable llvm::FoldingSet<AutoType> AutoTypes;
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3530 AST_TYPE_MATCHER(AutoType, autoType);
3547 AST_POLYMORPHIC_SUPPORTED_TYPES(AutoType));
/external/clang/include/clang/Sema/
DSema.h6144 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
6156 Expr *&RetExpr, AutoType *AT);
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2036 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.cpp278 void ASTTypeWriter::VisitAutoType(const AutoType *T) { in VisitAutoType()