Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DType.cpp558 public TypeVisitor<GetContainedAutoVisitor, AutoType*> {
560 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit;
561 AutoType *Visit(QualType T) { in Visit()
568 AutoType *VisitAutoType(const AutoType *AT) { in VisitAutoType()
569 return const_cast<AutoType*>(AT); in VisitAutoType()
573 AutoType *VisitPointerType(const PointerType *T) { in VisitPointerType()
576 AutoType *VisitBlockPointerType(const BlockPointerType *T) { in VisitBlockPointerType()
579 AutoType *VisitReferenceType(const ReferenceType *T) { in VisitReferenceType()
582 AutoType *VisitMemberPointerType(const MemberPointerType *T) { in VisitMemberPointerType()
585 AutoType *VisitArrayType(const ArrayType *T) { in VisitArrayType()
[all …]
H A DTypePrinter.cpp164 if (const AutoType *AT = dyn_cast<AutoType>(T)) in canPrefixQualifiers()
828 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) { in printAutoBefore()
837 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) { in printAutoAfter()
H A DASTDiagnostic.cpp62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) { in Desugar()
H A DMicrosoftMangle.cpp1591 dyn_cast_or_null<AutoType>(ResultType->getContainedAutoType())) { in mangleFunctionType()
2065 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, SourceRange Range) { in mangleType()
H A DASTContext.cpp1687 const AutoType *A = cast<AutoType>(T); in getTypeInfoImpl()
3812 AutoType::Profile(ID, DeducedType, IsDecltypeAuto, IsDependent); in getAutoType()
3813 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos)) in getAutoType()
3816 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType, in getAutoType()
3857 new (*this, TypeAlignment) AutoType(QualType(), /*decltype(auto)*/false, in getAutoDeductType()
H A DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
645 cast<AutoType>(T1)->getDeducedType(), in IsStructurallyEquivalent()
646 cast<AutoType>(T2)->getDeducedType())) in IsStructurallyEquivalent()
1695 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DASTDumper.cpp376 void VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DItaniumMangle.cpp2490 void CXXNameMangler::mangleType(const AutoType *T) { in mangleType()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp2162 QualType AutoType = Context.getAutoDeductType(); in BuildCXXForRangeStmt() local
2173 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2175 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt()
2628 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2802 AutoType *AT) { in DeduceFunctionTypeFromReturnExpr()
2852 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()
2868 AutoType *NewAT = Deduced->getContainedAutoType(); in DeduceFunctionTypeFromReturnExpr()
2947 if (AutoType *AT = FnRetType->getContainedAutoType()) { in BuildReturnStmt()
H A DSemaType.cpp2512 if (const AutoType *AT = T->getAs<AutoType>()) { in GetFullTypeForDeclarator()
2673 const AutoType *AT = T->getContainedAutoType(); in GetFullTypeForDeclarator()
2718 (T.hasQualifiers() || !isa<AutoType>(T) || in GetFullTypeForDeclarator()
2719 cast<AutoType>(T)->isDecltypeAuto())) { in GetFullTypeForDeclarator()
H A DSemaTemplateDeduction.cpp3988 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) { in DeduceAutoType()
4983 cast<AutoType>(T)->getDeducedType(), in MarkUsedTemplateParameters()
H A DTreeTransform.h3740 const AutoType *AutoTy; in TransformQualifiedType()
3753 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) { in TransformQualifiedType()
4953 const AutoType *T = TL.getTypePtr(); in TransformAutoType()
H A DSemaDecl.cpp2705 AutoType *OldAT = Old->getReturnType()->getContainedAutoType(); in MergeFunctionDecl()
9729 AutoType *AT = D->getType()->getContainedAutoType(); in BuildDeclaratorGroup()
10461 if (!FD->getReturnType()->getAs<AutoType>()) { in ActOnFinishFunctionBody()
H A DSemaTemplate.cpp4024 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) { in VisitAutoType()
H A DSemaExpr.cpp12465 QTy = cast<AutoType>(Ty)->getDeducedType(); in tryCaptureVariable()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DType.h1353 friend class AutoType;
1725 AutoType *getContainedAutoType() const;
3713 class AutoType : public Type, public llvm::FoldingSetNode {
3714 AutoType(QualType DeducedType, bool IsDecltypeAuto,
5196 const AutoType *AT = getContainedAutoType();
H A DDataRecursiveASTVisitor.h902 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1116 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DRecursiveASTVisitor.h967 DEF_TRAVERSE_TYPE(AutoType, { TRY_TO(TraverseType(T->getDeducedType())); })
1181 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h1631 AutoType> {
H A DASTContext.h129 mutable llvm::FoldingSet<AutoType> AutoTypes;
/minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3398 AST_TYPE_MATCHER(AutoType, autoType);
3415 AST_POLYMORPHIC_SUPPORTED_TYPES_1(AutoType));
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h6227 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
6239 Expr *&RetExpr, AutoType *AT);
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2014 QualType DT = cast<AutoType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp278 void ASTTypeWriter::VisitAutoType(const AutoType *T) { in VisitAutoType()