Home
last modified time | relevance | path

Searched refs:UnderlyingType (Results 1 – 25 of 28) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DPrettyEnumDumper.cpp41 auto UnderlyingType = Symbol.getUnderlyingType(); in start() local
42 if (!UnderlyingType) in start()
44 if (UnderlyingType->getBuiltinType() != PDB_BuiltinType::Int || in start()
45 UnderlyingType->getLength() != 4) { in start()
48 Dumper.start(*UnderlyingType); in start()
H A DMinimalTypeDumper.cpp365 Enum.UnderlyingType); in visitKnownRecord()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h76 using UnderlyingType = uint8_t;
79 enum FlagNames : UnderlyingType {
167 UnderlyingType getRawFlagsValue() const { in getRawFlagsValue()
168 return static_cast<UnderlyingType>(Flags); in getRawFlagsValue()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DODRHash.cpp873 QualType UnderlyingType = D->getUnderlyingType(); in RemoveTypedef() local
875 if (UnderlyingType.hasLocalQualifiers()) { in RemoveTypedef()
879 const auto *ElaboratedT = dyn_cast<ElaboratedType>(UnderlyingType); in RemoveTypedef()
1189 QualType UnderlyingType = T->getDecl()->getUnderlyingType(); in VisitTypedefType() local
1190 VisitQualifiers(UnderlyingType.getQualifiers()); in VisitTypedefType()
1193 dyn_cast<TypedefType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
1194 UnderlyingType = Underlying->getDecl()->getUnderlyingType(); in VisitTypedefType()
1198 dyn_cast<ElaboratedType>(UnderlyingType.getTypePtr())) { in VisitTypedefType()
1199 UnderlyingType = Underlying->getNamedType(); in VisitTypedefType()
1205 AddType(UnderlyingType.getTypePtr()); in VisitTypedefType()
H A DTypePrinter.cpp214 const Type *UnderlyingType = T; in canPrefixQualifiers() local
216 UnderlyingType = AT->desugar().getTypePtr(); in canPrefixQualifiers()
218 UnderlyingType = Subst->getReplacementType().getTypePtr(); in canPrefixQualifiers()
219 Type::TypeClass TC = UnderlyingType->getTypeClass(); in canPrefixQualifiers()
266 cast<ArrayType>(UnderlyingType)->getElementType().getTypePtr(), in canPrefixQualifiers()
295 const auto *AttrTy = cast<AttributedType>(UnderlyingType); in canPrefixQualifiers()
H A DCommentSema.cpp908 auto UnderlyingType = ThisTypedefDecl->getUnderlyingType(); in isClassOrStructOrTagTypedefDecl() local
909 if (auto ThisElaboratedType = dyn_cast<ElaboratedType>(UnderlyingType)) { in isClassOrStructOrTagTypedefDecl()
H A DType.cpp3531 E(E), UnderlyingType(underlyingType) {} in DecltypeType()
3551 QualType UnderlyingType, UTTKind UKind, in UnaryTransformType() argument
3554 BaseType(BaseType), UnderlyingType(UnderlyingType), UKind(UKind) {} in UnaryTransformType()
H A DASTContext.cpp5691 QualType ASTContext::getDecltypeType(Expr *e, QualType UnderlyingType) const { in getDecltypeType()
5711 DecltypeType(e, UnderlyingType, QualType((DecltypeType *)Canon, 0)); in getDecltypeType()
5714 DecltypeType(e, UnderlyingType, getCanonicalType(UnderlyingType)); in getDecltypeType()
5723 QualType UnderlyingType, in getUnaryTransformType() argument
5748 QualType CanonType = getCanonicalType(UnderlyingType); in getUnaryTransformType()
5750 UnderlyingType, Kind, in getUnaryTransformType()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h109 using UnderlyingType = const ContainerType *; variable
110 UnderlyingType Impl;
382 /* implicit */ RangeSet(UnderlyingType Ptr) : Impl(Ptr) {} in RangeSet()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp304 const auto UnderlyingType = in getLength() local
306 return UnderlyingType ? UnderlyingType->getLength() : 0; in getLength()
/openbsd-src/gnu/llvm/clang/include/clang/ExtractAPI/
H A DAPI.h559 SymbolReference UnderlyingType; member
564 DeclarationFragments SubHeading, SymbolReference UnderlyingType, in TypedefRecord()
569 UnderlyingType(UnderlyingType) {} in TypedefRecord()
773 SymbolReference UnderlyingType, bool IsFromSystemHeader);
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h524 StringRef Name, StringRef UniqueName, TypeIndex UnderlyingType) in EnumRecord() argument
527 UnderlyingType(UnderlyingType) {} in EnumRecord()
529 TypeIndex getUnderlyingType() const { return UnderlyingType; } in getUnderlyingType()
531 TypeIndex UnderlyingType; variable
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp793 bool ShouldDrop = Record.UnderlyingType.Name.empty(); in serializeTypedefRecord()
796 ShouldDrop |= (Record.UnderlyingType.Name == Record.Name); in serializeTypedefRecord()
804 (*Typedef)["type"] = Record.UnderlyingType.USR; in serializeTypedefRecord()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DAPI.cpp242 SymbolReference UnderlyingType, bool IsFromSystemHeader) { in addTypedef() argument
245 SubHeading, UnderlyingType, IsFromSystemHeader); in addTypedef()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DDWARFLocationExpression.cpp99 return GetIntegralTypeInfo(er.UnderlyingType, tpi); in GetIntegralTypeInfo()
H A DPdbUtil.cpp1095 return GetSizeOfType({record.UnderlyingType}, tpi); in GetSizeOfType()
H A DPdbAstBuilder.cpp1149 clang::QualType underlying_type = GetOrCreateType(er.UnderlyingType); in CreateEnumType()
H A DSymbolFileNativePDB.cpp672 TypeSP underlying_type = GetOrCreateType(er.UnderlyingType); in CreateTagType()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h583 DIType *UnderlyingType, StringRef UniqueIdentifier = "", bool IsScoped = false);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDIBuilder.cpp557 DIType *UnderlyingType, StringRef UniqueIdentifier, bool IsScoped) { in createEnumerationType() argument
560 getNonCompileUnitScope(Scope), UnderlyingType, SizeInBits, AlignInBits, 0, in createEnumerationType()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DType.h4697 QualType UnderlyingType;
4706 QualType getUnderlyingType() const { return UnderlyingType; }
4750 QualType UnderlyingType;
4762 QualType desugar() const { return UnderlyingType; }
4764 QualType getUnderlyingType() const { return UnderlyingType; }
H A DASTContext.h1695 QualType getDecltypeType(Expr *e, QualType UnderlyingType) const;
1698 QualType getUnaryTransformType(QualType BaseType, QualType UnderlyingType,
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp480 error(IO.mapInteger(Record.UnderlyingType, "UnderlyingType")); in visitKnownRecord()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp547 IO.mapRequired("UnderlyingType", Record.UnderlyingType); in map()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp16897 QualType UnderlyingType = TInfo->getType(); in BuildVAArgExpr() local
16898 if (const auto *ET = UnderlyingType->getAs<EnumType>()) in BuildVAArgExpr()
16899 UnderlyingType = ET->getDecl()->getIntegerType(); in BuildVAArgExpr()
16900 if (Context.typesAreCompatible(PromoteType, UnderlyingType, in BuildVAArgExpr()
16908 if (!PromoteType.isNull() && !UnderlyingType->isBooleanType() && in BuildVAArgExpr()
16910 UnderlyingType->isUnsignedIntegerType()) { in BuildVAArgExpr()
16911 UnderlyingType = in BuildVAArgExpr()
16912 UnderlyingType->isUnsignedIntegerType() in BuildVAArgExpr()
16913 ? Context.getCorrespondingSignedType(UnderlyingType) in BuildVAArgExpr()
16914 : Context.getCorrespondingUnsignedType(UnderlyingType); in BuildVAArgExpr()
[all …]

12