Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp24 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getUnderlyingTypeDecl()
52 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getSymbolReferenceForType()
H A DDeclarationFragments.cpp280 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(T)) { in getFragmentsForType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp49 if (const TypedefType *TT = Ty->getAs<TypedefType>()) in isBooleanType()
H A DNonnullGlobalConstantsChecker.cpp119 const auto *TT = dyn_cast<TypedefType>(ET->getNamedType()); in isGlobalConstString()
144 } else if (auto *T = Ty->getAs<TypedefType>()) { in isNonnullType()
H A DNSErrorChecker.cpp317 const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>(); in IsCFError()
H A DLLVMConventionsChecker.cpp53 const TypedefType *TT = T->getAs<TypedefType>(); in IsStdString()
H A DFuchsiaHandleChecker.cpp259 if (const auto *HandleType = S->getType()->getAs<TypedefType>()) in VisitSymbol()
288 if (const auto *HandleType = QT->getAs<TypedefType>()) { in getFuchsiaHandleSymbols()
375 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-14.2/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp384 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind()
522 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind()
579 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef()
H A DQualTypeNames.cpp253 } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) { in getFullyQualifiedNestedNameSpecifier()
325 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf()
H A DASTImporterLookupTable.cpp67 } else if (isa<TypedefType>(Ty)) { in VisitFriendDecl()
H A DType.cpp85 ND = ty->castAs<TypedefType>()->getDecl(); in getBaseTypeIdentifier()
546 template <> const TypedefType *Type::getAs() const { in getAs()
547 return getAsSugar<TypedefType>(this); in getAs()
3709 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType
3713 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType()
3719 QualType TypedefType::desugar() const { in desugar()
4685 if (const auto *typedefType = getAs<TypedefType>()) in isObjCNSObjectType()
4691 if (const auto *typedefType = getAs<TypedefType>()) in isObjCIndependentClassType()
H A DASTStructuralEquivalence.cpp1102 if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(), in IsStructurallyEquivalent()
1103 cast<TypedefType>(T2)->getDecl()) || in IsStructurallyEquivalent()
1104 !IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->desugar(), in IsStructurallyEquivalent()
1105 cast<TypedefType>(T2)->desugar())) in IsStructurallyEquivalent()
H A DODRHash.cpp875 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef()
1171 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType()
H A DASTContext.cpp1842 if (const auto *TT = T->getAs<TypedefType>()) in getTypeAlignIfKnown()
1853 if (const auto *TT = T->getAs<TypedefType>()) in getTypeAlignIfKnown()
2326 const auto *TT = cast<TypedefType>(T); in getTypeInfoImpl()
4648 auto *NewType = new (*this, alignof(TypedefType)) TypedefType( in getTypedefType()
4659 TypedefType::Profile(ID, Decl, Underlying); in getTypedefType()
4669 alignof(TypedefType)); in getTypedefType()
7376 const auto *TD = T->castAs<TypedefType>(); in setCFConstantStringType()
7590 if (const auto *TT = dyn_cast<TypedefType>(T)) in isTypeTypedefedAsBOOL()
7935 if (PointeeTy->getAs<TypedefType>()) { in getLegacyIntegralTypeEncoding()
8225 if (T->getAs<TypedefType>()) { in getObjCEncodingForTypeImpl()
[all …]
H A DTypePrinter.cpp1140 void TypePrinter::printTypedefBefore(const TypedefType *T, raw_ostream &OS) { in printTypedefBefore()
1159 void TypePrinter::printTypedefAfter(const TypedefType *T, raw_ostream &OS) {} in printTypedefAfter()
1467 if (auto *TT = dyn_cast<TypedefType>(T)) in printRecordBefore()
H A DODRDiagsEmitter.cpp252 TypedefType, in diagnoseSubMismatchTypedef() enumerator
279 DiagError(TypedefType) << IsTypeAlias << FirstName << FirstType; in diagnoseSubMismatchTypedef()
280 DiagNote(TypedefType) << IsTypeAlias << SecondName << SecondType; in diagnoseSubMismatchTypedef()
/freebsd-14.2/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.cpp404 llvm::cast<clang::TypedefType>(qual_type) in CanImport()
478 llvm::cast<clang::TypedefType>(qual_type) in Import()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar
81 def TypedefType : TypeNode<Type>, NeverCanonical;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h325 void VisitTypedefType(const TypedefType *T);
H A DJSONNodeDumper.h219 void VisitTypedefType(const TypedefType *TT);
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp471 if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>()) in getSupportedDeclFromTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp88 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()

123