reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   43 TYPE(FunctionNoProto, FunctionType)

References

include/llvm/ADT/FoldingSet.h
  221   static void Profile(const T &X, FoldingSetNodeID &ID) {
  224   static void Profile(T &X, FoldingSetNodeID &ID) {
  232   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  240   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
  250   : public DefaultFoldingSetTrait<T> {};
  369   FoldingSetTrait<T>::Profile(X, TempID);
  375   FoldingSetTrait<T>::Profile(X, TempID);
  410   using iterator = FoldingSetIterator<T>;
  415   using const_iterator = FoldingSetIterator<const T>;
  420   using bucket_iterator = FoldingSetBucketIterator<T>;
  432   bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
  437   T *GetOrInsertNode(T *N) {
  437   T *GetOrInsertNode(T *N) {
  444   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
  451   void InsertNode(T *N, void *InsertPos) {
  457   void InsertNode(T *N) {
  473 template <class T> class FoldingSet final : public FoldingSetImpl<T> {
  474   using Super = FoldingSetImpl<T>;
  480     T *TN = static_cast<T *>(N);
  481     FoldingSetTrait<T>::Profile(*TN, ID);
  488     T *TN = static_cast<T *>(N);
  489     return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID);
  495     T *TN = static_cast<T *>(N);
  496     return FoldingSetTrait<T>::ComputeHash(*TN, TempID);
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  248                                typename cast_retty<X, const Y>::ret_type>::type
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTContext.h
  199   mutable llvm::FoldingSet<FunctionNoProtoType> FunctionNoProtoTypes;
tools/clang/include/clang/AST/CanonicalType.h
   76   CanQual(const CanQual<U> &Other,
   77           typename std::enable_if<std::is_base_of<T, U>::value, int>::type = 0);
   77           typename std::enable_if<std::is_base_of<T, U>::value, int>::type = 0);
   83   const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
   83   const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
   87   const T *getTypePtrOrNull() const {
  120   template<typename U> CanProxy<U> getAs() const;
  126   CanProxy<T> operator->() const;
  157   CanQual<T> getUnqualifiedType() const;
  167   bool isMoreQualifiedThan(CanQual<T> Other) const {
  173   bool isAtLeastAsQualifiedAs(CanQual<T> Other) const {
  185   static CanQual<T> getFromOpaquePtr(void *Ptr);
  192   static CanQual<T> CreateUnsafe(QualType Other);
  241   CanQual<T> Stored;
  245   const T *getTypePtr() const { return Stored.getTypePtr(); }
  254   operator const T*() const { return this->Stored.getTypePtrOrNull(); }
  321   const CanProxyAdaptor<T> *operator->() const {
  347 class CanProxy : public CanProxyAdaptor<T> {
  353   CanProxy(CanQual<T> Stored) { this->Stored = Stored; }
  356   operator CanQual<T>() const { return this->Stored; }
  492   : public CanProxyBase<FunctionNoProtoType> {
  644   CanQual<T> Result;
  658   if (isa<U>(Stored.getTypePtr()))
  659     return CanQual<U>::CreateUnsafe(Stored);
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1004                   { TRY_TO(TraverseType(T->getReturnType())); })
 1237                      { TRY_TO(TraverseTypeLoc(TL.getReturnLoc())); })
tools/clang/include/clang/AST/Type.h
 1986   bool isFunctionNoProtoType() const { return getAs<FunctionNoProtoType>(); }
 2237   template <typename T> const T *getAs() const;
 6859   static_assert(!TypeIsArrayType<T>::value,
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6867   if (!isa<T>(CanonicalType))
 6872   return cast<T>(getUnqualifiedDesugaredType());
tools/clang/include/clang/AST/TypeLoc.h
  486     return TypeClass::classof(Ty);
  498   const TypeClass *getTypePtr() const {
  499     return cast<TypeClass>(Base::getTypePtr());
 1438     if (isa<FunctionNoProtoType>(getTypePtr()))
 1486                                      FunctionNoProtoType> {
tools/clang/include/clang/CodeGen/CodeGenABITypes.h
   61                                               CanQual<FunctionNoProtoType> Ty);
tools/clang/lib/AST/ASTContext.cpp
 2818   if (const auto *FNPT = dyn_cast<FunctionNoProtoType>(T)) {
 2818   if (const auto *FNPT = dyn_cast<FunctionNoProtoType>(T)) {
 3683   FunctionNoProtoType::Profile(ID, ResultTy, Info);
 3686   if (FunctionNoProtoType *FT =
 3696     FunctionNoProtoType *NewIP =
 3701   auto *New = new (*this, TypeAlignment)
 3702     FunctionNoProtoType(ResultTy, Canonical, Info);
tools/clang/lib/AST/ASTImporter.cpp
  325     ExpectedType VisitFunctionNoProtoType(const FunctionNoProtoType *T);
 1178 ASTNodeImporter::VisitFunctionNoProtoType(const FunctionNoProtoType *T) {
tools/clang/lib/AST/ItaniumMangle.cpp
 2845 void CXXNameMangler::mangleType(const FunctionNoProtoType *T) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 2163 void MicrosoftCXXNameMangler::mangleType(const FunctionNoProtoType *T,
tools/clang/lib/AST/ODRHash.cpp
  885   void VisitFunctionNoProtoType(const FunctionNoProtoType *T) {
tools/clang/lib/AST/StmtPrinter.cpp
 2406   if (isa<FunctionNoProtoType>(AFT)) {
tools/clang/lib/AST/Type.cpp
  956   QualType VisitFunctionNoProtoType(const FunctionNoProtoType *T) {
 1255     if (isa<FunctionNoProtoType>(funcType)) {
tools/clang/lib/AST/TypePrinter.cpp
  923 void TypePrinter::printFunctionNoProtoBefore(const FunctionNoProtoType *T,
  932 void TypePrinter::printFunctionNoProtoAfter(const FunctionNoProtoType *T,
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGCall.cpp
  103 CodeGenTypes::arrangeFreeFunctionType(CanQual<FunctionNoProtoType> FTNP) {
  445   if (CanQual<FunctionNoProtoType> noProto = FTy.getAs<FunctionNoProtoType>()) {
  445   if (CanQual<FunctionNoProtoType> noProto = FTy.getAs<FunctionNoProtoType>()) {
  591                                        cast<FunctionNoProtoType>(fnType))) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1203   if (isa<FunctionNoProtoType>(Ty))
tools/clang/lib/CodeGen/CGExpr.cpp
 4933   if (isa<FunctionNoProtoType>(FnType) || Chain) {
tools/clang/lib/CodeGen/CodeGenABITypes.cpp
   43                                  CanQual<FunctionNoProtoType> Ty) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5819   if (auto *FnType = Ty->getAs<FunctionNoProtoType>())
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  351     const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT);
  351     const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT);
  353         CanQual<FunctionNoProtoType>::CreateUnsafe(QualType(FNPT, 0)));
tools/clang/lib/CodeGen/CodeGenTypes.h
  206   const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionNoProtoType> Ty);
tools/clang/lib/CodeGen/TargetInfo.cpp
  400                                      const FunctionNoProtoType *fnType) const {
 2319                              const FunctionNoProtoType *fnType) const override {
tools/clang/lib/CodeGen/TargetInfo.h
  215                                      const FunctionNoProtoType *fnType) const;
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4052   if (isa<FunctionNoProtoType>(AFT)) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3262   if (isa<FunctionNoProtoType>(AFT)) {
tools/clang/lib/Sema/SemaDecl.cpp
 3619     if (MergeTypeWithOld && isa<FunctionNoProtoType>(NewFuncType) &&
 9102     if (isa<FunctionNoProtoType>(FT) && !D.isFunctionDefinition()) {
10657   if (isa<FunctionNoProtoType>(FT)) return;
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2681     if (isa<FunctionNoProtoType>(FT)) {
tools/clang/lib/Sema/SemaExpr.cpp
14273     if (isa<FunctionNoProtoType>(FTy)) {
tools/clang/lib/Sema/SemaOverload.cpp
 1135   if (isa<FunctionNoProtoType>(OldQType.getTypePtr()) ||
 1136       isa<FunctionNoProtoType>(NewQType.getTypePtr()))
tools/clang/lib/Sema/SemaTemplate.cpp
 5581                                                const FunctionNoProtoType* T) {
tools/clang/lib/Sema/TreeTransform.h
 5576   const FunctionNoProtoType *T = TL.getTypePtr();
 5576   const FunctionNoProtoType *T = TL.getTypePtr();
 5577   QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc());
 5577   QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc());
 5581   QualType Result = TL.getType();
 5585   FunctionNoProtoTypeLoc NewTL = TLB.push<FunctionNoProtoTypeLoc>(Result);
 5586   NewTL.setLocalRangeBegin(TL.getLocalRangeBegin());
 5587   NewTL.setLParenLoc(TL.getLParenLoc());
 5588   NewTL.setRParenLoc(TL.getRParenLoc());
 5589   NewTL.setLocalRangeEnd(TL.getLocalRangeEnd());
tools/clang/lib/Serialization/ASTWriter.cpp
  286 void ASTTypeWriter::VisitFunctionNoProtoType(const FunctionNoProtoType *T) {
tools/clang/tools/libclang/CXType.cpp
  636   if (T->getAs<FunctionNoProtoType>())
  685   if (T->getAs<FunctionNoProtoType>()) {
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
 1447     : public __and_<is_destructible<_Tp>, integral_constant<bool,
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };