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

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   49 NON_CANONICAL_TYPE(MacroQualified, 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*,
  331                             typename cast_retty<X, const Y>::ret_type>::type
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  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;
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/AST/JSONNodeDumper.h
  220   void VisitMacroQualifiedType(const MacroQualifiedType *MQT);
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1066                   { TRY_TO(TraverseType(T->getUnderlyingType())); })
 1312                      { TRY_TO(TraverseTypeLoc(TL.getInnerLoc())); })
tools/clang/include/clang/AST/Type.h
 6898     else if (const auto *M = dyn_cast<MacroQualifiedType>(Ty))
 6898     else if (const auto *M = dyn_cast<MacroQualifiedType>(Ty))
tools/clang/include/clang/AST/TypeLoc.h
  370     return TypeClass::classof(Ty);
  405   const TypeClass *getTypePtr() const {
  406     return cast<TypeClass>(Base::getTypePtr());
 1092                              MacroQualifiedType, MacroQualifiedLocInfo> {
tools/clang/lib/AST/ASTContext.cpp
 2148         cast<MacroQualifiedType>(T)->getUnderlyingType().getTypePtr());
 2858   if (const auto *MQT = dyn_cast<MacroQualifiedType>(Orig))
 2858   if (const auto *MQT = dyn_cast<MacroQualifiedType>(Orig))
 4340   auto *newType = new (*this, TypeAlignment)
 4341       MacroQualifiedType(UnderlyingTy, Canon, MacroII);
tools/clang/lib/AST/ASTDiagnostic.cpp
   45     if (const MacroQualifiedType *MDT = dyn_cast<MacroQualifiedType>(Ty)) {
   45     if (const MacroQualifiedType *MDT = dyn_cast<MacroQualifiedType>(Ty)) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  693             Context, cast<MacroQualifiedType>(T1)->getUnderlyingType(),
  694             cast<MacroQualifiedType>(T2)->getUnderlyingType()))
tools/clang/lib/AST/JSONNodeDumper.cpp
  681 void JSONNodeDumper::VisitMacroQualifiedType(const MacroQualifiedType *MQT) {
tools/clang/lib/AST/Type.cpp
 1791     Type *VisitMacroQualifiedType(const MacroQualifiedType *T) {
 3200   while (auto *InnerMQT = dyn_cast<MacroQualifiedType>(Inner)) {
 3963   if (auto MacroTy = dyn_cast<MacroQualifiedType>(T))
tools/clang/lib/AST/TypePrinter.cpp
  969 void TypePrinter::printMacroQualifiedBefore(const MacroQualifiedType *T,
  979 void TypePrinter::printMacroQualifiedAfter(const MacroQualifiedType *T,
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2889       T = cast<MacroQualifiedType>(T)->getUnderlyingType();
tools/clang/lib/Sema/SemaType.cpp
  187     llvm::DenseMap<const MacroQualifiedType *, SourceLocation> LocsForMacros;
  303     getExpansionLocForMacroQualifiedType(const MacroQualifiedType *MQT) const {
  310     void setExpansionLocForMacroQualifiedType(const MacroQualifiedType *MQT,
 7718           cast<MacroQualifiedType>(type.getTypePtr()),
tools/clang/lib/Sema/TreeTransform.h
 6284   QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc());
 6284   QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc());
 6288   QualType Result = TL.getType();
 6289   if (getDerived().AlwaysRebuild() || Inner != TL.getInnerLoc().getType()) {
 6291         getDerived().RebuildMacroQualifiedType(Inner, TL.getMacroIdentifier());
 6296   MacroQualifiedTypeLoc NewTL = TLB.push<MacroQualifiedTypeLoc>(Result);
 6297   NewTL.setExpansionLoc(TL.getExpansionLoc());
tools/clang/lib/Serialization/ASTWriter.cpp
  521 void ASTTypeWriter::VisitMacroQualifiedType(const MacroQualifiedType *T) {
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; };