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

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   69 NON_CANONICAL_TYPE(Typedef, 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
  252       X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
  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
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  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;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTTypeTraits.h
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
  259   const T &getUnchecked() const {
  260     return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer);
  394     static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
  399     static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
  401       return *cast<T>(static_cast<const BaseT *>(
  479     : public DynCastPtrConverter<T, Type> {};
tools/clang/include/clang/AST/JSONNodeDumper.h
  202   void VisitTypedefType(const TypedefType *TT);
tools/clang/include/clang/AST/TextNodeDumper.h
  287   void VisitTypedefType(const TypedefType *T);
tools/clang/include/clang/AST/Type.h
 2411 template <> const TypedefType *Type::getAs() const;
 6923 template <typename T> const T *Type::castAs() const {
 6924   static_assert(!TypeIsArrayType<T>::value,
 6927   if (const auto *ty = dyn_cast<T>(this)) return ty;
 6927   if (const auto *ty = dyn_cast<T>(this)) return ty;
 6929   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());
  668                                                         TypedefType> {
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 5766 extern const AstTypeMatcher<TypedefType> typedefType;
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  302   virtual bool matches(const T &Node,
  309     return matches(DynNode.getUnchecked<T>(), Finder, Builder);
  345   DynTypedMatcher(MatcherInterface<T> *Implementation)
  346       : SupportedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()),
  436     return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  445   template <typename T> Matcher<T> convertTo() const {
  447     return unconditionalConvertTo<T>();
  479 class WrapperMatcherInterface : public MatcherInterface<T> {
  499   explicit Matcher(MatcherInterface<T> *Implementation)
  520             std::is_same<T, QualType>::value &&
  529     static_assert(std::is_base_of<To, T>::value, "Invalid dynCast call.");
  534   bool matches(const T &Node,
  581     return Other.dynCastTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  654   static yes& test(Inner *I, decltype(I->getDecl()) * = nullptr);
  660   static const bool value = sizeof(test<Ty>(nullptr)) == sizeof(yes);
  751 class HasDeclarationMatcher : public WrapperMatcherInterface<T> {
  759   bool matches(const T &Node, ASTMatchFinder *Finder,
  798     if (const auto *S = dyn_cast<TypedefType>(EffectiveType)) {
  798     if (const auto *S = dyn_cast<TypedefType>(EffectiveType)) {
 1067   using head = T1;
 1073   using tail = TypeList<Ts...>;
 1084       std::is_base_of<typename AnyTypeList::head, T>::value ||
 1085       TypeListContainsSuperOf<typename AnyTypeList::tail, T>::value;
 1119              TemplateSpecializationType, TemplateTypeParmType, TypedefType,
 1202   operator Matcher<T>() const {
 1203     static_assert(TypeListContainsSuperOf<ReturnTypes, T>::value,
 1243   operator Matcher<T>() const {
 1245                ast_type_traits::ASTNodeKind::getFromNodeKind<T>())
 1246         .template unconditionalConvertTo<T>();
 1255 class BindableMatcher : public Matcher<T> {
 1257   explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {}
 1258   explicit BindableMatcher(MatcherInterface<T> *Implementation)
 1265   Matcher<T> bind(StringRef ID) const {
 1370 inline Matcher<T> DynTypedMatcher::unconditionalConvertTo() const {
 1376 BindableMatcher<T> makeAllOfComposite(
 1377     ArrayRef<const Matcher<T> *> InnerMatchers) {
 1388   using PI = llvm::pointee_iterator<const Matcher<T> *const *>;
 1395           ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
 1397           .template unconditionalConvertTo<T>());
 1408     ArrayRef<const Matcher<InnerT> *> InnerMatchers) {
 1557     : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>,
 1558                               makeDynCastAllOfComposite<SourceT, TargetT>> {
tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h
  199   ast_matchers::internal::Matcher<T> getTypedMatcher() const {
  202         ->template convertTo<T>();
  227       : MatcherOps(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()) {}
  228   typedef ast_matchers::internal::Matcher<T> MatcherT;
  232     return DynTypedMatcher(Matcher.convertTo<T>());
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  517   if (!isa<TypedefType>(RT)) {
 1067   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr()))
 1067   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr()))
 1370   while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr()))
 1370   while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr()))
tools/clang/lib/AST/ASTContext.cpp
 1759   if (const auto *TT = T->getAs<TypedefType>())
 1759   if (const auto *TT = T->getAs<TypedefType>())
 1770   if (const auto *TT = T->getAs<TypedefType>())
 1770   if (const auto *TT = T->getAs<TypedefType>())
 2154     const TypedefNameDecl *Typedef = cast<TypedefType>(T)->getDecl();
 4007   auto *newType = new (*this, TypeAlignment)
 4008     TypedefType(Type::Typedef, Decl, Canonical);
 6067   const auto *TD = T->castAs<TypedefType>();
 6067   const auto *TD = T->castAs<TypedefType>();
 6263   if (const auto *TT = dyn_cast<TypedefType>(T))
 6263   if (const auto *TT = dyn_cast<TypedefType>(T))
 6604   if (isa<TypedefType>(PointeeTy.getTypePtr())) {
 6853     if (isa<TypedefType>(T.getTypePtr())) {
tools/clang/lib/AST/ASTDiagnostic.cpp
  171       if (const TypedefType *QTT = dyn_cast<TypedefType>(QT))
  171       if (const TypedefType *QTT = dyn_cast<TypedefType>(QT))
tools/clang/lib/AST/ASTImporter.cpp
  329     ExpectedType VisitTypedefType(const TypedefType *T);
 1260 ExpectedType ASTNodeImporter::VisitTypedefType(const TypedefType *T) {
tools/clang/lib/AST/ASTImporterLookupTable.cpp
   48         else if (isa<TypedefType>(Ty)) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  699     if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(),
  700                                   cast<TypedefType>(T2)->getDecl()))
tools/clang/lib/AST/CommentSema.cpp
  876   if (QT->getAs<TypedefType>())
  879     if (P->getPointeeType()->getAs<TypedefType>())
  882     if (P->getPointeeType()->getAs<TypedefType>())
tools/clang/lib/AST/FormatString.cpp
  981   const TypedefNameDecl *Typedef = cast<TypedefType>(QT)->getDecl();
 1004     if (!isa<TypedefType>(T))
 1007     Typedef = cast<TypedefType>(T)->getDecl();
tools/clang/lib/AST/ItaniumMangle.cpp
 2037     mangleSourceNameWithAbiTags(cast<TypedefType>(Ty)->getDecl());
tools/clang/lib/AST/JSONNodeDumper.cpp
  274     if (const auto *TT = QT->getAs<TypedefType>())
  274     if (const auto *TT = QT->getAs<TypedefType>())
  485 void JSONNodeDumper::VisitTypedefType(const TypedefType *TT) {
tools/clang/lib/AST/NSAPI.cpp
  383   const TypedefType *TDT = T->getAs<TypedefType>();
  383   const TypedefType *TDT = T->getAs<TypedefType>();
  509   while (const TypedefType *TDT = T->getAs<TypedefType>()) {
  509   while (const TypedefType *TDT = T->getAs<TypedefType>()) {
  566   while (const TypedefType *TDT = T->getAs<TypedefType>()) {
  566   while (const TypedefType *TDT = T->getAs<TypedefType>()) {
tools/clang/lib/AST/ODRHash.cpp
  707     const auto *TypedefT = dyn_cast<TypedefType>(T);
  707     const auto *TypedefT = dyn_cast<TypedefType>(T);
 1020   void VisitTypedefType(const TypedefType *T) {
 1025       if (const TypedefType *Underlying =
 1026               dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) {
tools/clang/lib/AST/PrintfFormatString.cpp
  839   if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11))
  869   if (!isa<TypedefType>(QT) && QT->isCharType()) {
tools/clang/lib/AST/QualTypeNames.cpp
  251       } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) {
  251       } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) {
  323   if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) {
  323   if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) {
tools/clang/lib/AST/ScanfFormatString.cpp
  503   if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11))
tools/clang/lib/AST/TextNodeDumper.cpp
 1173 void TextNodeDumper::VisitTypedefType(const TypedefType *T) {
tools/clang/lib/AST/Type.cpp
   82     ND = ty->castAs<TypedefType>()->getDecl();
  438 template<typename T> static const T *getAsSugar(const Type *Cur) {
  440     if (const auto *Sugar = dyn_cast<T>(Cur))
  440     if (const auto *Sugar = dyn_cast<T>(Cur))
  456 template <> const TypedefType *Type::getAs() const {
  457   return getAsSugar<TypedefType>(this);
 4037     if (const auto *typedefType = dyn_cast<TypedefType>(cur))
 4037     if (const auto *typedefType = dyn_cast<TypedefType>(cur))
 4048   if (const auto *typedefType = dyn_cast<TypedefType>(this))
 4048   if (const auto *typedefType = dyn_cast<TypedefType>(this))
tools/clang/lib/AST/TypePrinter.cpp
  965 void TypePrinter::printTypedefBefore(const TypedefType *T, raw_ostream &OS) {
  984 void TypePrinter::printTypedefAfter(const TypedefType *T, raw_ostream &OS) {}
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  827 const AstTypeMatcher<TypedefType> typedefType;
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
   75     return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();
   78   static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
   79     return Value.getMatcher().getTypedMatcher<T>();
   83     return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  466       ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func,
  469         DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
  778     ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT>
tools/clang/lib/Analysis/CocoaConventions.cpp
   27   while (const TypedefType *TD = RetTy->getAs<TypedefType>()) {
   27   while (const TypedefType *TD = RetTy->getAs<TypedefType>()) {
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  886   while (auto *T = dyn_cast<TypedefType>(QT)) {
tools/clang/lib/Analysis/ThreadSafety.cpp
 1234   } else if (const auto *TT = VDT->getAs<TypedefType>()) {
 1234   } else if (const auto *TT = VDT->getAs<TypedefType>()) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGCall.cpp
 2399             if (const auto *TOTy = dyn_cast<TypedefType>(OTy))
 2399             if (const auto *TOTy = dyn_cast<TypedefType>(OTy))
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1133 llvm::DIType *CGDebugInfo::CreateType(const TypedefType *Ty,
 3033     return CreateType(cast<TypedefType>(Ty), Unit);
tools/clang/lib/CodeGen/CGDebugInfo.h
  157   llvm::DIType *CreateType(const TypedefType *Ty, llvm::DIFile *Fg);
tools/clang/lib/CodeGen/CGExprScalar.cpp
  271         if (const auto *TTy =
  272             dyn_cast<TypedefType>(VD->getType().getNonReferenceType()))
  288       if (const auto *TTy =
  289           dyn_cast<TypedefType>(E->getType()))
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  122   if (auto TT = T->getAs<TypedefType>()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1401         if (auto *TD = dyn_cast<TypedefType>(ty))
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
   85   if (const TypedefType *TTy = dyn_cast<TypedefType>(QTy)) {
   85   if (const TypedefType *TTy = dyn_cast<TypedefType>(QTy)) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  854   if (!isa<TypedefType>(IvarT) && IvarT->isRecordType()) {
 3629   if (isa<TypedefType>(Type)) {
 3725   if (isa<TypedefType>(Type))
 7495       if (!isa<TypedefType>(IvarT) && IvarT->isRecordType()) {
tools/clang/lib/Index/IndexDecl.cpp
  391           if (auto *TT = TInfo->getType()->getAs<TypedefType>()) {
tools/clang/lib/Sema/Sema.cpp
 2278   if (auto TypedefT = dyn_cast<TypedefType>(QT.getTypePtr()))
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  733     } else if (isa<TypedefType>(T)) {
tools/clang/lib/Sema/SemaChecking.cpp
 8216   while (const TypedefType *UserTy = TyTy->getAs<TypedefType>()) {
 8216   while (const TypedefType *UserTy = TyTy->getAs<TypedefType>()) {
 8498         if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(ExprTy))
 8498         if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(ExprTy))
tools/clang/lib/Sema/SemaDecl.cpp
 1770     if (const TypedefType *TT = Ty->getAs<TypedefType>()) {
 1770     if (const TypedefType *TT = Ty->getAs<TypedefType>()) {
 8417       const TypedefType *Typedef = nullptr;
 8418       while ((Typedef = PT->getAs<TypedefType>())) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  578   const auto *TD = Ty->getAs<TypedefType>();
  578   const auto *TD = Ty->getAs<TypedefType>();
 6411     while (const auto *TT = T->getAs<TypedefType>()) {
 6411     while (const auto *TT = T->getAs<TypedefType>()) {
 8417   } else if (const auto *TD = dyn_cast<TypedefType>(TyPtr)) {
 8417   } else if (const auto *TD = dyn_cast<TypedefType>(TyPtr)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 8790   if (const TypedefType *TT = DeclaratorType->getAs<TypedefType>())
 8790   if (const TypedefType *TT = DeclaratorType->getAs<TypedefType>())
tools/clang/lib/Sema/SemaExpr.cpp
 4124       T = cast<TypedefType>(Ty)->desugar();
 4159     if (auto *TT = T->getAs<TypedefType>()) {
 4776             LHSExp->IgnoreParenImpCasts()->getType()->getAs<TypedefType>()) {
tools/clang/lib/Sema/SemaExprObjC.cpp
 3645 static inline T *getObjCBridgeAttr(const TypedefType *TD) {
 3659   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
 3659   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
 3806   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
 3806   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
 3872   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
 3872   while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) {
tools/clang/lib/Sema/SemaInit.cpp
 9556   if (const TypedefType *TT = EntityType->getAs<TypedefType>()) {
 9556   if (const TypedefType *TT = EntityType->getAs<TypedefType>()) {
tools/clang/lib/Sema/SemaType.cpp
 4266     auto *typedefTy = T->getAs<TypedefType>();
 4276       typedefTy = typedefTy->desugar()->getAs<TypedefType>();
 6594       if (auto typedefType = desugared->getAs<TypedefType>()) {
 7078          AT->getAs<TypedefType>() == T->getAs<TypedefType>()) {
 7078          AT->getAs<TypedefType>() == T->getAs<TypedefType>()) {
 7320   if (const TypedefType* TypedefTy = CurType->getAs<TypedefType>()) {
 7320   if (const TypedefType* TypedefTy = CurType->getAs<TypedefType>()) {
tools/clang/lib/Sema/TreeTransform.h
 5620   const TypedefType *T = TL.getTypePtr();
 5620   const TypedefType *T = TL.getTypePtr();
 5622     = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(),
 5627   QualType Result = TL.getType();
 5635   TypedefTypeLoc NewTL = TLB.push<TypedefTypeLoc>(Result);
 5636   NewTL.setNameLoc(TL.getNameLoc());
tools/clang/lib/Serialization/ASTReader.cpp
 4824         if (const TypedefType *Typedef = FileType->getAs<TypedefType>())
 4824         if (const TypedefType *Typedef = FileType->getAs<TypedefType>())
 4845         if (const TypedefType *Typedef = Jmp_bufType->getAs<TypedefType>())
 4845         if (const TypedefType *Typedef = Jmp_bufType->getAs<TypedefType>())
 4866         if (const TypedefType *Typedef = Sigjmp_bufType->getAs<TypedefType>())
 4866         if (const TypedefType *Typedef = Sigjmp_bufType->getAs<TypedefType>())
 4902         if (const TypedefType *Typedef = Ucontext_tType->getAs<TypedefType>())
 4902         if (const TypedefType *Typedef = Ucontext_tType->getAs<TypedefType>())
tools/clang/lib/Serialization/ASTWriter.cpp
  339 void ASTTypeWriter::VisitTypedefType(const TypedefType *T) {
tools/clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
   47   if (const TypedefType *TT = Ty->getAs<TypedefType>())
   47   if (const TypedefType *TT = Ty->getAs<TypedefType>())
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
   53   const TypedefType *TT = T->getAs<TypedefType>();
   53   const TypedefType *TT = T->getAs<TypedefType>();
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
  305   const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>();
  305   const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>();
tools/clang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
  110     if (const auto *TT = dyn_cast<TypedefType>(T)) {
  110     if (const auto *TT = dyn_cast<TypedefType>(T)) {
  137   } else if (auto *T = dyn_cast<TypedefType>(Ty)) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
   85   if (!PT.isNull() && !QT->getAs<TypedefType>())
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
  129     const auto *T = C.getVariable()->getType()->getAs<TypedefType>();
  129     const auto *T = C.getVariable()->getType()->getAs<TypedefType>();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  452     if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>())
  452     if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>())
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  918   if (auto *Typedef = Type.getType()->getAs<TypedefType>()) {
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp
   58     ShouldNotDoFixit = ShouldNotDoFixit || isa<TypedefType>(BaseType);
tools/clang/tools/extra/clang-tidy/cert/PostfixOperatorCheck.cpp
   55     if (Location.isMacroID() || ReturnType->getAs<TypedefType>() ||
   56         RefType->getPointeeTypeAsWritten()->getAs<TypedefType>())
   82   if (!Location.isMacroID() && !ReturnType->getAs<TypedefType>())
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp
  210 static bool isTypedefTypeMatching(const TypedefType *const Typedef,
  311     if (const auto *Typedef = BT->getAs<TypedefType>()) {
  311     if (const auto *Typedef = BT->getAs<TypedefType>()) {
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  816         if (const auto *Typedef = TypePtr->getAs<TypedefType>()) {
  816         if (const auto *Typedef = TypePtr->getAs<TypedefType>()) {
  825       if (const auto *Typedef =
  826               Value->getReturnType().getTypePtr()->getAs<TypedefType>()) {
  831         if (const auto *Typedef = Value->parameters()[i]
  834                                       ->getAs<TypedefType>()) {
tools/clang/tools/extra/clang-tidy/readability/NamedParameterCheck.cpp
   65     if (auto Typedef = Parm->getType()->getAs<clang::TypedefType>())
tools/clang/tools/extra/clangd/FindTarget.cpp
  252       void VisitTypedefType(const TypedefType *TT) {
tools/clang/tools/libclang/CIndex.cpp
 1344     if (const TypedefType *Typedef = dyn_cast<TypedefType>(T))
 1344     if (const TypedefType *Typedef = dyn_cast<TypedefType>(T))
 1556     if (const TypedefType *Typedef = VisitType->getAs<TypedefType>())
 1556     if (const TypedefType *Typedef = VisitType->getAs<TypedefType>())
tools/clang/tools/libclang/CXCursor.cpp
 1139   if (const TypedefType *Typedef = Ty->getAs<TypedefType>())
 1139   if (const TypedefType *Typedef = Ty->getAs<TypedefType>())
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  347     if (const TypedefType *TDT = T->getAs<TypedefType>()) {
  347     if (const TypedefType *TDT = T->getAs<TypedefType>()) {
tools/clang/tools/libclang/CXType.cpp
  433   const TypedefType *TT = T->getAs<TypedefType>();
  433   const TypedefType *TT = T->getAs<TypedefType>();
  495     D = cast<TypedefType>(TP)->getDecl();
 1296   if (auto *TT = dyn_cast_or_null<TypedefType>(T.getTypePtrOrNull())) {
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  224   static_assert(internal::has_getDecl<TypedefType>::value,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 2223     if (const TypedefType *typedef_type =
 2224             llvm::dyn_cast<TypedefType>(qual_type)) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 2575     return GetDeclContextForType(llvm::cast<clang::TypedefType>(qual_type)
 2699     return GetCompleteQualType(ast, llvm::cast<clang::TypedefType>(qual_type)
 2773     return IsAggregateType(llvm::cast<clang::TypedefType>(qual_type)
 2811     return IsAnonymousType(llvm::cast<clang::TypedefType>(qual_type)
 2886     return IsArrayType(llvm::cast<clang::TypedefType>(qual_type)
 3032       return IsFunctionType(llvm::cast<clang::TypedefType>(qual_type)
 3142     return IsHomogeneousAggregate(llvm::cast<clang::TypedefType>(qual_type)
 3204       return IsFunctionPointerType(llvm::cast<clang::TypedefType>(qual_type)
 3256       return IsBlockPointerType(llvm::cast<clang::TypedefType>(qual_type)
 3369       return IsPointerType(llvm::cast<clang::TypedefType>(qual_type)
 3454       return IsPointerOrReferenceType(llvm::cast<clang::TypedefType>(qual_type)
 3510       return IsReferenceType(llvm::cast<clang::TypedefType>(qual_type)
 3718       return IsPossibleDynamicType(llvm::cast<clang::TypedefType>(qual_type)
 3931     const clang::TypedefType *typedef_type =
 3932         qual_type->getAs<clang::TypedefType>();
 4139            CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 4252       return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 4585       return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 4724       return GetMemberFunctionAtIndex(llvm::cast<clang::TypedefType>(qual_type)
 4922     const clang::TypedefType *typedef_type =
 4923         llvm::dyn_cast<clang::TypedefType>(GetQualType(type));
 5243     return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 5417     return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 5673     num_children = CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 5840     count = CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 6056     return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 6137     count = GetNumDirectBaseClasses(llvm::cast<clang::TypedefType>(qual_type)
 6181     count = GetNumVirtualBaseClasses(llvm::cast<clang::TypedefType>(qual_type)
 6304     return GetDirectBaseClassAtIndex(llvm::cast<clang::TypedefType>(qual_type)
 6372     return GetVirtualBaseClassAtIndex(llvm::cast<clang::TypedefType>(qual_type)
 6516     return GetNumPointeeChildren(llvm::cast<clang::TypedefType>(qual_type)
 7008         this, llvm::cast<clang::TypedefType>(parent_qual_type)
 7379       return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 7629       return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 7665     return CompilerType(this, llvm::cast<clang::TypedefType>(qual_type)
 7717     return GetAsTemplateSpecialization(llvm::cast<clang::TypedefType>(qual_type)
 7843   const clang::TypedefType *typedef_type =
 7844       llvm::dyn_cast<clang::TypedefType>(ClangUtil::GetQualType(type));
 8736     return SetHasExternalStorage(llvm::cast<clang::TypedefType>(qual_type)
 9267         llvm::cast<clang::TypedefType>(qual_type)
 9486           llvm::cast<clang::TypedefType>(qual_type)
 9669       const clang::TypedefType *typedef_type =
 9670           qual_type->getAs<clang::TypedefType>();
 9779       printf("typedef %s", llvm::cast<clang::TypedefType>(qual_type)
tools/lldb/source/Symbol/ClangASTImporter.cpp
  452                                   llvm::cast<clang::TypedefType>(qual_type)
  528                                llvm::cast<clang::TypedefType>(qual_type)
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; };