Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp25 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getUnderlyingTypeDecl()
53 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getSymbolReferenceForType()
H A DDeclarationFragments.cpp304 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(T)) { in getFragmentsForType()
/freebsd/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 DLLVMConventionsChecker.cpp53 const TypedefType *TT = T->getAs<TypedefType>(); in IsStdString()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp354 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind()
495 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind()
552 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef()
H A DQualTypeNames.cpp254 } else if (const auto *TDD = dyn_cast<TypedefType>(Type)) { in getFullyQualifiedNestedNameSpecifier()
326 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()
578 template <> const TypedefType *Type::getAs() const { in getAs()
579 return getAsSugar<TypedefType>(this); in getAs()
3858 TypedefType::TypedefType(TypeClass tc, const TypedefNameDecl *D, in TypedefType() function in TypedefType
3862 assert(!isa<TypedefType>(can) && "Invalid canonical type"); in TypedefType()
3868 QualType TypedefType::desugar() const { in desugar()
4930 if (const auto *typedefType = getAs<TypedefType>()) in isObjCNSObjectType()
4936 if (const auto *typedefType = getAs<TypedefType>()) in isObjCIndependentClassType()
H A DASTStructuralEquivalence.cpp1120 if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(), in IsStructurallyEquivalent()
1121 cast<TypedefType>(T2)->getDecl()) || in IsStructurallyEquivalent()
1122 !IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->desugar(), in IsStructurallyEquivalent()
1123 cast<TypedefType>(T2)->desugar())) in IsStructurallyEquivalent()
H A DODRHash.cpp888 const auto *TypedefT = dyn_cast<TypedefType>(T); in RemoveTypedef()
1188 void VisitTypedefType(const TypedefType *T) { in VisitTypedefType()
H A DODRDiagsEmitter.cpp252 TypedefType, in diagnoseSubMismatchTypedef() enumerator
279 DiagError(TypedefType) << IsTypeAlias << FirstName << FirstType; in diagnoseSubMismatchTypedef()
280 DiagNote(TypedefType) << IsTypeAlias << SecondName << SecondType; in diagnoseSubMismatchTypedef()
H A DASTContext.cpp1874 if (const auto *TT = T->getAs<TypedefType>()) in getTypeAlignIfKnown()
1885 if (const auto *TT = T->getAs<TypedefType>()) in getTypeAlignIfKnown()
2365 const auto *TT = cast<TypedefType>(T); in getTypeInfoImpl()
5063 auto *NewType = new (*this, alignof(TypedefType)) TypedefType( in getTypedefType()
5074 TypedefType::Profile(ID, Decl, Underlying); in getTypedefType()
5077 if (TypedefType *T = TypedefTypes.FindNodeOrInsertPos(ID, InsertPos)) { in getTypedefType()
5083 void *Mem = Allocate(TypedefType::totalSizeToAlloc<QualType>(true), in getTypedefType()
5084 alignof(TypedefType)); in getTypedefType()
5085 auto *NewType = new (Mem) TypedefType(Type::Typedef, Decl, Underlying, in getTypedefType()
7832 const auto *TD = T->castAs<TypedefType>(); in setCFConstantStringType()
[all …]
H A DTypePrinter.cpp1192 void TypePrinter::printTypedefBefore(const TypedefType *T, raw_ostream &OS) { in printTypedefBefore()
1211 void TypePrinter::printTypedefAfter(const TypedefType *T, raw_ostream &OS) {} in printTypedefAfter()
1531 if (auto *TT = dyn_cast<TypedefType>(T)) in printRecordBefore()
H A DFormatString.cpp1117 for (/**/; const auto *TT = QT->getAs<TypedefType>(); in namedTypeToLengthModifier()
/freebsd/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.cpp407 llvm::cast<clang::TypedefType>(qual_type) in CanImport()
481 llvm::cast<clang::TypedefType>(qual_type) in Import()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td49 /// Nodes like `TypedefType` which are syntactically leaves but can desugar
82 def TypedefType : TypeNode<Type>, NeverCanonical;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBPF.cpp55 if (ArgType->getAs<TypedefType>()) in isValidPreserveTypeInfoArg()
H A DOpenCLBuiltins.td260 class TypedefType<string _Name> :
402 def MemFenceFlags : TypedefType<"cl_mem_fence_flags">;
403 def ClkProfilingInfo : TypedefType<"clk_profiling_info">;
404 def NDRange : TypedefType<"ndrange_t">;
423 def AtomicFlag : TypedefType<"atomic_flag">;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h336 void VisitTypedefType(const TypedefType *T);
H A DJSONNodeDumper.h222 void VisitTypedefType(const TypedefType *TT);
H A DType.h2127 friend class TypedefType;
2966 template <> const TypedefType *Type::getAs() const;
5600 class TypedefType final : public Type,
5602 private llvm::TrailingObjects<TypedefType, QualType> {
5607 TypedefType(TypeClass tc, const TypedefNameDecl *D, QualType underlying,
8448 if (getAs<TypedefType>())
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp93 while (auto *TT = QTy->getAs<TypedefType>()) { in TypeHasMayAlias()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp86 if (!PT.isNull() && !QT->getAs<TypedefType>()) in getPrettyTypeName()

123