Home
last modified time | relevance | path

Searched refs:TypedefType (Results 1 – 25 of 64) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp47 if (const TypedefType *TT = Ty->getAs<TypedefType>()) in isBooleanType()
H A DNonnullGlobalConstantsChecker.cpp112 if (const auto *TT = dyn_cast<TypedefType>(T)) { in isGlobalConstString()
139 } else if (auto *T = dyn_cast<TypedefType>(Ty)) { in isNonnullType()
H A DLLVMConventionsChecker.cpp53 const TypedefType *TT = T->getAs<TypedefType>(); in IsStdString()
H A DNSErrorChecker.cpp316 const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>(); in IsCFError()
H A DFuchsiaHandleChecker.cpp261 if (const auto *HandleType = S->getType()->getAs<TypedefType>()) in VisitSymbol()
291 if (const auto *HandleType = QT->getAs<TypedefType>()) { in getFuchsiaHandleSymbols()
378 if (const auto *TypeDefTy = FuncDecl->getReturnType()->getAs<TypedefType>()) in checkPostCall()
H A DStackAddrEscapeChecker.cpp130 const auto *T = C.getVariable()->getType()->getAs<TypedefType>(); in isSemaphoreCaptured()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp383 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind()
518 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind()
575 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef()
H A DFormatString.cpp979 assert(isa<TypedefType>(QT) && "Expected a TypedefType"); in namedTypeToLengthModifier()
980 const TypedefNameDecl *Typedef = cast<TypedefType>(QT)->getDecl(); in namedTypeToLengthModifier()
1003 if (!isa<TypedefType>(T)) in namedTypeToLengthModifier()
1006 Typedef = cast<TypedefType>(T)->getDecl(); in namedTypeToLengthModifier()
H A DQualTypeNames.cpp251 } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) { in getFullyQualifiedNestedNameSpecifier()
323 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
H A DODRHash.cpp712 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef()
1032 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType()
1037 if (const TypedefType *Underlying = in VisitTypedefType()
1038 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
H A DASTImporterLookupTable.cpp66 } else if (isa<TypedefType>(Ty)) { in VisitFriendDecl()
H A DCommentSema.cpp895 if (QT->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
898 if (P->getPointeeType()->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
901 if (P->getPointeeType()->getAs<TypedefType>()) in isFunctionOrBlockPointerVarLikeDecl()
H A DType.cpp83 ND = ty->castAs<TypedefType>()->getDecl(); in getBaseTypeIdentifier()
524 template <> const TypedefType *Type::getAs() const { in getAs()
525 return getAsSugar<TypedefType>(this); in getAs()
3384 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType
3388 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType()
3391 QualType TypedefType::desugar() const { in desugar()
4260 if (const auto *typedefType = dyn_cast<TypedefType>(cur)) in isObjCNSObjectType()
4271 if (const auto *typedefType = dyn_cast<TypedefType>(this)) in isObjCIndependentClassType()
H A DPrintfFormatString.cpp846 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
876 if (!isa<TypedefType>(QT) && QT->isCharType()) { in fixType()
H A DScanfFormatString.cpp503 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp148 if (const TypedefType *typedef_type = in AddTypeDecl()
149 llvm::dyn_cast<TypedefType>(qual_type)) { in AddTypeDecl()
H A DClangASTImporter.cpp403 llvm::cast<clang::TypedefType>(qual_type) in CanImport()
477 llvm::cast<clang::TypedefType>(qual_type) in Import()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar
80 def TypedefType : TypeNode<Type>, NeverCanonical;
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp509 if (!isa<TypedefType>(RT)) { in rewriteToObjCProperty()
1057 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) in TypeIsInnerPointer()
1360 while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr())) in IsVoidStarType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h314 void VisitTypedefType(const TypedefType *T);
H A DJSONNodeDumper.h211 void VisitTypedefType(const TypedefType *TT);
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp88 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp470 if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>()) in getSupportedDeclFromTypeLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3846 static inline T *getObjCBridgeAttr(const TypedefType *TD) { in getObjCBridgeAttr()
3863 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in ObjCBridgeRelatedAttrFromType()
4010 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in CheckObjCBridgeNSCast()
4076 while (const TypedefType *TD = dyn_cast<TypedefType>(T.getTypePtr())) { in CheckObjCBridgeCFCast()

123