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

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   68 NON_CANONICAL_UNLESS_DEPENDENT_TYPE(TypeOf, Type)

References

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/CanonicalType.h
   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 {
  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 {
  529 struct CanProxyAdaptor<TypeOfType> : public CanProxyBase<TypeOfType> {
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1027 DEF_TRAVERSE_TYPE(TypeOfType, { TRY_TO(TraverseType(T->getUnderlyingType())); })
 1268   TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
tools/clang/include/clang/AST/TypeLoc.h
  370     return TypeClass::classof(Ty);
  405   const TypeClass *getTypePtr() const {
  406     return cast<TypeClass>(Base::getTypePtr());
 1809   : public ConcreteTypeLoc<UnqualTypeLoc, Derived, TypeClass, LocalData> {
 1870   : public TypeofLikeTypeLoc<TypeOfTypeLoc, TypeOfType, TypeOfTypeLocInfo> {
tools/clang/lib/AST/ASTContext.cpp
 4907   auto *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical);
 4907   auto *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical);
tools/clang/lib/AST/ASTImporter.cpp
  332     ExpectedType VisitTypeOfType(const TypeOfType *T);
 1276 ExpectedType ASTNodeImporter::VisitTypeOfType(const TypeOfType *T) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  713                                   cast<TypeOfType>(T1)->getUnderlyingType(),
  714                                   cast<TypeOfType>(T2)->getUnderlyingType()))
tools/clang/lib/AST/ItaniumMangle.cpp
 3366 void CXXNameMangler::mangleType(const TypeOfType *T) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 2864 void MicrosoftCXXNameMangler::mangleType(const TypeOfType *T, Qualifiers,
tools/clang/lib/AST/ODRHash.cpp
 1050   void VisitTypeOfType(const TypeOfType *T) {
tools/clang/lib/AST/TypePrinter.cpp
  997 void TypePrinter::printTypeOfBefore(const TypeOfType *T, raw_ostream &OS) {
 1004 void TypePrinter::printTypeOfAfter(const TypeOfType *T, raw_ostream &OS) {}
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2871       T = cast<TypeOfType>(T)->getUnderlyingType();
tools/clang/lib/Sema/SemaExprObjC.cpp
 4220       else if (const TypeOfType *TP = dyn_cast<TypeOfType>(DT))
 4220       else if (const TypeOfType *TP = dyn_cast<TypeOfType>(DT))
tools/clang/lib/Sema/SemaTemplate.cpp
 5594 bool UnnamedLocalNoLinkageFinder::VisitTypeOfType(const TypeOfType* T) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 5561                                  cast<TypeOfType>(T)->getUnderlyingType(),
tools/clang/lib/Sema/TreeTransform.h
 5677   TypeSourceInfo* Old_Under_TI = TL.getUnderlyingTInfo();
 5682   QualType Result = TL.getType();
 5689   TypeOfTypeLoc NewTL = TLB.push<TypeOfTypeLoc>(Result);
 5690   NewTL.setTypeofLoc(TL.getTypeofLoc());
 5691   NewTL.setLParenLoc(TL.getLParenLoc());
 5692   NewTL.setRParenLoc(TL.getRParenLoc());
tools/clang/lib/Serialization/ASTWriter.cpp
  351 void ASTTypeWriter::VisitTypeOfType(const TypeOfType *T) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 4151     return CompilerType(this, llvm::cast<clang::TypeOfType>(qual_type)
 4372     return CompilerType(this, llvm::cast<clang::TypeOfType>(qual_type)
 4377     return CompilerType(this, llvm::cast<clang::TypeOfType>(qual_type)
 5273     return CompilerType(this, llvm::cast<clang::TypeOfType>(qual_type)
 5444     return CompilerType(this, llvm::cast<clang::TypeOfType>(qual_type)
 6531         llvm::cast<clang::TypeOfType>(qual_type)->getUnderlyingType());
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; };