| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | TypedefUnderlyingTypeResolver.cpp | 25 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getUnderlyingTypeDecl() 55 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getSymbolReferenceForType()
|
| H A D | DeclarationFragments.cpp | 256 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(T)) { in getFragmentsForType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | PostfixOperatorCheck.cpp | 51 if (Location.isMacroID() || ReturnType->getAs<TypedefType>() || in check() 52 RefType->getPointeeTypeAsWritten()->getAs<TypedefType>()) in check() 78 if (!Location.isMacroID() && !ReturnType->getAs<TypedefType>()) in check()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 51 if (const TypedefType *TT = Ty->getAs<TypedefType>()) in isBooleanType()
|
| H A D | NonnullGlobalConstantsChecker.cpp | 112 if (const auto *TT = dyn_cast<TypedefType>(T)) { in isGlobalConstString() 139 } else if (auto *T = dyn_cast<TypedefType>(Ty)) { in isNonnullType()
|
| H A D | LLVMConventionsChecker.cpp | 53 const TypedefType *TT = T->getAs<TypedefType>(); in IsStdString()
|
| H A D | NSErrorChecker.cpp | 316 const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>(); in IsCFError()
|
| H A D | FuchsiaHandleChecker.cpp | 258 if (const auto *HandleType = S->getType()->getAs<TypedefType>()) in VisitSymbol() 287 if (const auto *HandleType = QT->getAs<TypedefType>()) { in getFuchsiaHandleSymbols() 374 if (const auto *TypeDefTy = FuncDecl->getReturnType()->getAs<TypedefType>()) in checkPostCall()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | NSAPI.cpp | 383 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind() 519 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind() 576 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef()
|
| H A D | FormatString.cpp | 984 assert(isa<TypedefType>(QT) && "Expected a TypedefType"); in namedTypeToLengthModifier() 985 const TypedefNameDecl *Typedef = cast<TypedefType>(QT)->getDecl(); in namedTypeToLengthModifier() 1008 if (!isa<TypedefType>(T)) in namedTypeToLengthModifier() 1011 Typedef = cast<TypedefType>(T)->getDecl(); in namedTypeToLengthModifier()
|
| H A D | QualTypeNames.cpp | 255 } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) { in getFullyQualifiedNestedNameSpecifier() 327 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
|
| H A D | ODRHash.cpp | 713 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef() 1033 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType() 1038 if (const TypedefType *Underlying = in VisitTypedefType() 1039 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
|
| H A D | ASTImporterLookupTable.cpp | 67 } else if (isa<TypedefType>(Ty)) { in VisitFriendDecl()
|
| H A D | Type.cpp | 83 ND = ty->castAs<TypedefType>()->getDecl(); in getBaseTypeIdentifier() 524 template <> const TypedefType *Type::getAs() const { in getAs() 525 return getAsSugar<TypedefType>(this); in getAs() 3436 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType 3440 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType() 3443 QualType TypedefType::desugar() const { in desugar() 4325 if (const auto *typedefType = dyn_cast<TypedefType>(cur)) in isObjCNSObjectType() 4336 if (const auto *typedefType = dyn_cast<TypedefType>(this)) in isObjCIndependentClassType()
|
| H A D | PrintfFormatString.cpp | 847 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType() 877 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.cpp | 150 if (const TypedefType *typedef_type = in AddTypeDecl() 151 llvm::dyn_cast<TypedefType>(qual_type)) { in AddTypeDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | RenamerClangTidyCheck.cpp | 415 if (const auto *Typedef = TypePtr->getAs<TypedefType>()) in check() 424 Value->getReturnType().getTypePtr()->getAs<TypedefType>()) in check() 428 if (const TypedefType *Typedef = in check() 429 Param->getType().getTypePtr()->getAs<TypedefType>()) in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/ |
| H A D | TypeMismatchCheck.cpp | 206 static bool isTypedefTypeMatching(const TypedefType *const Typedef, in isTypedefTypeMatching() 309 if (const auto *Typedef = BT->getAs<TypedefType>()) { in checkArguments()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | CopyConstructorInitCheck.cpp | 55 ShouldNotDoFixit = ShouldNotDoFixit || isa<TypedefType>(BaseType); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | NamedParameterCheck.cpp | 61 if (const auto *Typedef = Parm->getType()->getAs<clang::TypedefType>()) in check()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar 81 def TypedefType : TypeNode<Type>, NeverCanonical;
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 440 const TypedefType *TT = T->getAs<TypedefType>(); in clang_getTypedefName() 502 D = cast<TypedefType>(TP)->getDecl(); in clang_getTypeDeclaration() 1313 if (auto *TT = dyn_cast_or_null<TypedefType>(T.getTypePtrOrNull())) { in clang_Type_isTransparentTagTypedef()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | AddUsing.cpp | 304 dyn_cast<TypedefType>(ET->getNamedType().getTypePtr())) { in prepare()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 508 if (!isa<TypedefType>(RT)) { in rewriteToObjCProperty() 1056 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) in TypeIsInnerPointer() 1359 while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr())) in IsVoidStarType()
|