Lines Matching defs:getAs

1524   bool isFunctionNoProtoType() const { return getAs<FunctionNoProtoType>(); }
1525 bool isFunctionProtoType() const { return getAs<FunctionProtoType>(); }
1673 /// NOTE: getAs*ArrayType are methods on ASTContext.
1700 /// Member-template getAs<specific type>'. Look through sugar for
1706 template <typename T> const T *getAs() const;
1708 /// A variant of getAs<> for array types which silently discards
1715 /// This method has the same relationship to getAs<T> as cast<T> has
1807 template <> const TypedefType *Type::getAs() const;
1812 template <> const TemplateSpecializationType *Type::getAs() const;
1816 template <> const AttributedType *Type::getAs() const;
1822 template <> inline const Class##Type *Type::getAs() const { \
4341 if (const BuiltinType *T = getBaseType()->getAs<BuiltinType>())
4458 getBaseType()->getAs<ObjCInterfaceType>())
4519 return getObjectType()->getBaseType()->getAs<ObjCInterfaceType>();
4785 if (const PointerType *PT = t.getAs<PointerType>()) {
4786 if (const FunctionType *FT = PT->getPointeeType()->getAs<FunctionType>())
4788 } else if (const FunctionType *FT = t.getAs<FunctionType>())
4827 if (const ReferenceType *RefType = (*this)->getAs<ReferenceType>())
4895 if (const PointerType *T = getAs<PointerType>())
4904 if (const MemberPointerType* T = getAs<MemberPointerType>())
4910 if (const MemberPointerType* T = getAs<MemberPointerType>())
4963 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
4968 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
4973 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
4978 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
4983 if (const PointerType *OPT = getAs<PointerType>())
5038 if (const BuiltinType *BT = getAs<BuiltinType>())
5084 if (const BuiltinType *BT = getAs<BuiltinType>())
5189 // Helper class template that is used by Type::getAs to ensure that one does
5198 // Member-template getAs<specific type>'.
5199 template <typename T> const T *Type::getAs() const {