Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.cpp257 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(T)) { in getFragmentsForType()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp52 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.cpp122 const auto *T = C.getVariable()->getType()->getAs<TypedefType>(); in isSemaphoreCaptured()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCocoaConventions.cpp27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DNSAPI.cpp384 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind()
520 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind()
577 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 DODRHash.cpp867 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef()
1187 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType()
1192 if (const TypedefType *Underlying = in VisitTypedefType()
1193 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
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()
3443 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType
3447 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType()
3453 QualType TypedefType::desugar() const { in desugar()
4412 if (const auto *typedefType = getAs<TypedefType>()) in isObjCNSObjectType()
4418 if (const auto *typedefType = getAs<TypedefType>()) in isObjCIndependentClassType()
H A DASTStructuralEquivalence.cpp1018 if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(), in IsStructurallyEquivalent()
1019 cast<TypedefType>(T2)->getDecl()) || in IsStructurallyEquivalent()
1020 !IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->desugar(), in IsStructurallyEquivalent()
1021 cast<TypedefType>(T2)->desugar())) in IsStructurallyEquivalent()
H A DODRDiagsEmitter.cpp252 TypedefType, in diagnoseSubMismatchTypedef() enumerator
279 DiagError(TypedefType) << IsTypeAlias << FirstName << FirstType; in diagnoseSubMismatchTypedef()
280 DiagNote(TypedefType) << IsTypeAlias << SecondName << SecondType; in diagnoseSubMismatchTypedef()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTypeNodes.td49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar
81 def TypedefType : TypeNode<Type>, NeverCanonical;
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp442 const TypedefType *TT = T->getAs<TypedefType>(); in clang_getTypedefName()
512 D = cast<TypedefType>(TP)->getDecl(); in clang_getTypeDeclaration()
1323 if (auto *TT = dyn_cast_or_null<TypedefType>(T.getTypePtrOrNull())) { in clang_Type_isTransparentTagTypedef()
H A DCXIndexDataConsumer.cpp352 if (const TypedefType *TDT = T->getAs<TypedefType>()) { in CXXBasesListInfo()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTextNodeDumper.h316 void VisitTypedefType(const TypedefType *T);
H A DJSONNodeDumper.h211 void VisitTypedefType(const TypedefType *TT);
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp470 if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>()) in getSupportedDeclFromTypeLoc()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp88 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()

123