Searched refs:AutoType (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp550 public TypeVisitor<GetContainedAutoVisitor, AutoType*> {
552 using TypeVisitor<GetContainedAutoVisitor, AutoType*>::Visit;
553 AutoType *Visit(QualType T) {
560 AutoType *VisitAutoType(const AutoType *AT) {
561 return const_cast<AutoType*>(AT);
565 AutoType *VisitPointerType(const PointerType *T) {
568 AutoType *VisitBlockPointerType(const BlockPointerType *T) {
571 AutoType *VisitReferenceType(const ReferenceType *T) {
574 AutoType *VisitMemberPointerTyp
[all...]
H A DTypePrinter.cpp164 if (const AutoType *AT = dyn_cast<AutoType>(T))
803 void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) {
812 void TypePrinter::printAutoAfter(const AutoType *T, raw_ostream &OS) {
H A DASTDiagnostic.cpp55 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
H A DASTImporter.cpp66 QualType VisitAutoType(const AutoType *T);
645 cast<AutoType>(T1)->getDeducedType(),
646 cast<AutoType>(T2)->getDeducedType()))
1702 QualType ASTNodeImporter::VisitAutoType(const AutoType *T) {
H A DASTContext.cpp1669 const AutoType *A = cast<AutoType>(T);
3675 AutoType::Profile(ID, DeducedType, IsDecltypeAuto, IsDependent);
3676 if (AutoType *AT = AutoTypes.FindNodeOrInsertPos(ID, InsertPos))
3679 AutoType *AT = new (*this, TypeAlignment) AutoType(DeducedType,
3720 new (*this, TypeAlignment) AutoType(QualType(), /*decltype(auto)*/false,
H A DMicrosoftMangle.cpp1806 void MicrosoftCXXNameMangler::mangleType(const AutoType *T, SourceRange Range) {
H A DExpr.cpp622 (FT && FT->getResultType()->getAs<AutoType>()))
H A DItaniumMangle.cpp2431 void CXXNameMangler::mangleType(const AutoType *T) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp2068 QualType AutoType = Context.getAutoDeductType();
2079 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType,
2081 VarDecl *EndVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType,
2523 AutoType *AT = CurCap->ReturnType->getContainedAutoType();
2652 AutoType *AT) {
2698 if (!OrigResultType.getType()->getAs<AutoType>()) {
2714 AutoType *NewAT = Deduced->getContainedAutoType();
2768 if (AutoType *AT = FnRetType->getContainedAutoType()) {
H A DSemaType.cpp2537 if (const AutoType *AT = T->getAs<AutoType>()) {
2702 const AutoType *AT = T->getContainedAutoType();
2745 (T.hasQualifiers() || !isa<AutoType>(T) ||
2746 cast<AutoType>(T)->isDecltypeAuto())) {
H A DSemaTemplateDeduction.cpp3924 // substituted type in an AutoType. Certain template deduction rules
3993 if (const AutoType *AT = Type.getType()->getAs<AutoType>()) {
5005 cast<AutoType>(T)->getDeducedType(),
H A DTreeTransform.h795 /// By default, builds a new AutoType with the given deduced type.
3516 const AutoType *AutoTy;
3529 } else if ((AutoTy = dyn_cast<AutoType>(Result)) && AutoTy->isDeduced()) {
4638 const AutoType *T = TL.getTypePtr();
H A DSemaDecl.cpp2516 AutoType *OldAT = Old->getResultType()->getContainedAutoType();
9013 AutoType *AT = D->getType()->getContainedAutoType();
9755 if (!FD->getResultType()->getAs<AutoType>()) {
H A DSemaTemplate.cpp3929 bool UnnamedLocalNoLinkageFinder::VisitAutoType(const AutoType *T) {
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3002 AST_TYPE_MATCHER(AutoType, autoType);
3004 /// \brief Matches \c AutoType nodes where the deduced type is a specific type.
3017 /// Usable as: Matcher<AutoType>
3019 AST_POLYMORPHIC_SUPPORTED_TYPES_1(AutoType));
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h1332 friend class AutoType;
1696 /// \brief Get the AutoType whose type will be deduced for a variable with
1699 AutoType *getContainedAutoType() const;
3632 class AutoType : public Type, public llvm::FoldingSetNode { class in class:clang::FunctionType::ExtInfo::FunctionProtoType
3633 AutoType(QualType DeducedType, bool IsDecltypeAuto, function in class:clang::FunctionType::ExtInfo::FunctionProtoType::AutoType
5111 const AutoType *AT = getContainedAutoType();
H A DRecursiveASTVisitor.h954 DEF_TRAVERSE_TYPE(AutoType, {
1182 DEF_TRAVERSE_TYPELOC(AutoType, {
H A DTypeLoc.h1626 AutoType> {
H A DASTContext.h118 mutable llvm::FoldingSet<AutoType> AutoTypes;
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5926 DeduceAutoResult DeduceAutoType(TypeSourceInfo *AutoType, Expr *&Initializer,
5936 Expr *&RetExpr, AutoType *AT);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1940 QualType DT = cast<AutoType>(T)->getDeducedType();
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTType.cpp2028 return ClangASTType (m_ast, cast<AutoType>(qual_type)->desugar()).GetFormat();
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp251 void ASTTypeWriter::VisitAutoType(const AutoType *T) {

Completed in 562 milliseconds