| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTContext.h | 1356 QualType getAdjustedType(QualType Orig, QualType New) const; 1372 QualType getAtomicType(QualType T) const; 1557 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args, in getFunctionType() 1566 QualType getFunctionTypeInternal(QualType ResultTy, ArrayRef<QualType> Args, 1688 QualType getObjCObjectType(QualType Base, 1723 QualType getUnaryTransformType(QualType BaseType, QualType UnderlyingType, 2856 QualType mergeTypes(QualType, QualType, bool OfBlockPointer=false, 2858 QualType mergeFunctionTypes(QualType, QualType, bool OfBlockPointer=false, 2860 QualType mergeFunctionParameterTypes(QualType, QualType, 2863 QualType mergeTransparentUnionType(QualType, QualType, [all …]
|
| H A D | Type.h | 62 class QualType; variable 1348 QualType substObjCMemberType(QualType objectType, 1368 static QualType IgnoreParens(QualType T); 2691 ParenType(QualType InnerType, QualType CanonType) 2779 DecayedType(QualType OriginalType, QualType Decayed, QualType Canonical); 3064 IncompleteArrayType(QualType et, QualType can, 4563 TypeOfType(QualType T, QualType can) 4588 DecltypeType(Expr *E, QualType underlyingType, QualType can = QualType()); 5992 ObjCObjectType(QualType Canonical, QualType Base, 6382 AtomicType(QualType ValTy, QualType Canonical) [all …]
|
| H A D | NonTrivialTypeVisitor.h | 28 RetTy visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 35 case QualType::DK_none: in visitWithKind() 61 case QualType::PDIK_ARCStrong: in visitWithKind() 63 case QualType::PDIK_ARCWeak: in visitWithKind() 65 case QualType::PDIK_Struct: in visitWithKind() 67 case QualType::PDIK_Trivial: in visitWithKind() 87 RetTy visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind() 92 case QualType::PCK_ARCStrong: in visitWithKind() 94 case QualType::PCK_ARCWeak: in visitWithKind() 96 case QualType::PCK_Struct: in visitWithKind() [all …]
|
| H A D | TypeOrdering.h | 29 bool operator()(QualType T1, QualType T2) const { in operator() 38 template<> struct DenseMapInfo<clang::QualType> { 39 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 41 static inline clang::QualType getTombstoneKey() { 42 using clang::QualType; 43 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1)); 46 static unsigned getHashValue(clang::QualType Val) { 51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
|
| H A D | TypeProperties.td | 13 def : Property<"elementType", QualType> { 21 def : Property<"pointeeType", QualType> { 29 def : Property<"originalType", QualType> { 32 def : Property<"adjustedType", QualType> { 50 def : Property<"pointeeType", QualType> { 84 def : Property<"baseType", QualType> { 387 QualType finalCanonicalType = 389 : QualType(); 579 return QualType(T, 0); 673 QualType result; [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 390 QualType QualType::getDesugaredType(QualType T, const ASTContext &Context) { in getDesugaredType() 395 QualType QualType::getSingleStepDesugaredTypeImpl(QualType type, in getSingleStepDesugaredTypeImpl() 496 QualType QualType::IgnoreParens(QualType T) { in IgnoreParens() 847 QualType recurse(QualType type) { in recurse() 1484 QualType QualType::substObjCTypeArgs(ASTContext &ctx, in substObjCTypeArgs() 1491 QualType QualType::substObjCMemberType(QualType objectType, in substObjCMemberType() 1507 QualType QualType::getAtomicUnqualifiedType() const { in getAtomicUnqualifiedType() 3151 QualType QualType::getNonPackExpansionType() const { in getNonPackExpansionType() 3757 QualType 3765 QualType [all …]
|
| H A D | ASTContext.cpp | 3008 QualType 3311 QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { in getAdjustedType() 3404 QualType 4039 QualType 4080 QualType 4370 QualType Existing = QualType(FPT, 0); in getFunctionTypeInternal() 10039 QualType ASTContext::mergeTransparentUnionType(QualType T, QualType SubType, in mergeTransparentUnionType() 10059 QualType ASTContext::mergeFunctionParameterTypes(QualType lhs, QualType rhs, in mergeFunctionParameterTypes() 10078 QualType ASTContext::mergeFunctionTypes(QualType lhs, QualType rhs, in mergeFunctionTypes() 10278 QualType ASTContext::mergeTypes(QualType LHS, QualType RHS, in mergeTypes() [all …]
|
| H A D | InheritViz.cpp | 36 std::map<QualType, int, QualTypeOrdering> DirectBaseCount; 37 std::set<QualType, QualTypeOrdering> KnownVirtualBases; 43 void WriteGraph(QualType Type) { in WriteGraph() 53 void WriteNode(QualType Type, bool FromVirtual); 58 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual); 62 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { in WriteNode() 63 QualType CanonType = Context.getCanonicalType(Type); in WriteNode() 96 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode() 124 InheritanceHierarchyWriter::WriteNodeReference(QualType Type, in WriteNodeReference() 126 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference() [all …]
|
| H A D | ASTDiagnostic.cpp | 29 QualType clang::desugarForDiagnostic(ASTContext &Context, QualType QT, in desugarForDiagnostic() 175 QualType Underlying; in desugarForDiagnostic() 274 QualType CompareTy = in ConvertTypeToDiagnosticString() 308 QualType PrevTy( in ConvertTypeToDiagnosticString() 406 QualType ToType = in FormatASTNodeDiagnosticArgument() 434 QualType Ty(QualType::getFromOpaquePtr(reinterpret_cast<void*>(Val))); in FormatASTNodeDiagnosticArgument() 656 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, in SetTypeDiff() 685 QualType FromIntType, QualType ToIntType, in SetIntegerDiff() 821 void GetTypeDiff(QualType &FromType, QualType &ToType) { in GetTypeDiff() 841 QualType &FromIntType, QualType &ToIntType, in GetIntegerDiff() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 140 QualType Type; 339 QualType Type = TypeInfo->getType(); in InitializeTemporary() 435 QualType getType() const { return Type; } in getType() 936 QualType Type; 1115 QualType FailedIncompleteType; 1275 void AddFinalCopy(QualType T); 1281 QualType T, 1323 void AddCAssignmentStep(QualType T); 1326 void AddStringInitStep(QualType T); 1333 void AddArrayInitLoopStep(QualType T, QualType EltTy); [all …]
|
| H A D | Overload.h | 340 void setAllToTypes(QualType T) { in setAllToTypes() 346 QualType getFromType() const { in getFromType() 350 QualType getToType(unsigned Idx) const { in getToType() 426 QualType getFromType() const { in getFromType() 430 QualType getToType() const { in getToType() 495 void init(FailureKind K, QualType From, QualType To) { in init() 502 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType() 503 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); } in getToType() 548 QualType InitializerListContainerType; 662 QualType FromType, QualType ToType) { in setBad() [all …]
|
| H A D | Sema.h | 2015 QualType BuildPointerType(QualType T, 2066 QualType BuildFunctionType(QualType T, 2071 QualType BuildMemberPointerType(QualType T, QualType Class, 2074 QualType BuildBlockPointerType(QualType T, 2076 QualType BuildParenType(QualType T); 2078 QualType BuildReadPipeType(QualType T, 2080 QualType BuildWritePipeType(QualType T, 8682 QualType adjustCCAndNoReturn(QualType ArgFunctionType, QualType FunctionType, 8819 QualType SubstAutoType(QualType TypeWithAuto, QualType Replacement); 8833 QualType ReplaceAutoType(QualType TypeWithAuto, QualType Replacement); [all …]
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 205 static Optional<QualType> 258 QualType T in clang_getCursorType() 298 QualType T = GetQualType(CT); in clang_getTypeSpelling() 481 T = QualType(); in clang_getPointeeType() 640 QualType T = GetQualType(X); in clang_isFunctionTypeVariadic() 654 QualType T = GetQualType(X); in clang_getFunctionTypeCallingConv() 691 QualType T = GetQualType(X); in clang_getNumArgTypes() 804 QualType ET = QualType(); in clang_getElementType() 862 QualType ET = QualType(); in clang_getArrayElementType() 932 QualType ET = QualType(); in clang_Type_getClassType() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ConstantEmitter.h | 74 QualType destType); 76 QualType destType); 102 llvm::Constant *emitAbstract(const Expr *E, QualType T); 104 QualType T); 107 llvm::Constant *tryEmitAbstract(const Expr *E, QualType T); 110 llvm::Constant *tryEmitAbstract(const APValue &value, QualType T); 115 llvm::Constant *emitNullForMemory(QualType T) { in emitNullForMemory() 118 llvm::Constant *emitForMemory(llvm::Constant *C, QualType T) { in emitForMemory() 124 QualType T); 132 llvm::Constant *tryEmitPrivate(const Expr *E, QualType T); [all …]
|
| H A D | CGNonTrivialStruct.cpp | 45 QualType FT = FD->getType(); in visitStructFields() 86 void preVisit(QualType::PrimitiveCopyKind PCK, QualType FT, in preVisit() 93 void visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind() 277 void visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, in visitWithKind() 294 void visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 357 QualType BaseEltQT; in visitArray() 555 QualType RT = QualType(FD->getParent()->getTypeForDecl(), 0); in visitVolatileTrivial() 586 void visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 626 void visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, in visitWithKind() 659 QualType EltTy = Ctx.getBaseElementType(QualType(AT, 0)); in visitArray() [all …]
|
| H A D | CGCXXABI.h | 71 llvm::Constant *GetBogusMemberPointer(QualType T); 266 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0; 268 getAddrOfCXXCatchHandlerType(QualType Ty, QualType CatchHandlerType) = 0; 272 QualType SrcRecordTy) = 0; 283 QualType SrcRecordTy, QualType DestTy, 288 QualType SrcRecordTy, 289 QualType DestTy) = 0; 318 QualType Type; 508 RValue RV, QualType ResultType); 548 QualType ElementType); [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCTypeEncodingParser.cpp | 62 : type(clang::QualType()) {} in StructElement() 95 return clang::QualType(); in BuildAggregate() 105 return clang::QualType(); in BuildAggregate() 121 return clang::QualType(); in BuildAggregate() 152 return clang::QualType(); in BuildArray() 156 return clang::QualType(); in BuildArray() 170 return clang::QualType(); in BuildObjCObjectPointerType() 230 return clang::QualType(); in BuildObjCObjectPointerType() 251 clang::QualType 256 return clang::QualType(); in BuildType() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SValBuilder.h | 73 const QualType ArrayIndexTy; 84 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy); 88 QualType originalType); 123 SVal operand, QualType type); 126 SVal lhs, SVal rhs, QualType type); 141 QualType getConditionType() const { in getConditionType() 145 QualType getArrayIndexType() const { in getArrayIndexType() 178 DefinedOrUnknownSVal makeZeroVal(QualType type); 317 QualType type); 323 QualType type); [all …]
|
| H A D | SymbolManager.h | 68 QualType getType() const override; 80 QualType T; 218 QualType T; 282 QualType FromTy; 285 QualType ToTy; 288 SymbolCast(const SymExpr *In, QualType From, QualType To) in SymbolCast() 310 const SymExpr *In, QualType From, QualType To) { in Profile() 331 QualType T; 379 QualType T; 430 QualType t) in BinarySymExprImpl() [all …]
|
| H A D | DynamicCastInfo.h | 21 DynamicCastInfo(QualType from, QualType to, CastResult resultKind) in DynamicCastInfo() 24 QualType from() const { return From; } in from() 25 QualType to() const { return To; } in to() 27 bool equals(QualType from, QualType to) const { in equals() 48 QualType From, To;
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 24 class QualType; variable 73 clang::QualType GetBasicType(lldb::BasicType type); 77 bool CompleteType(clang::QualType qt); 80 CompilerType ToCompilerType(clang::QualType qt); 95 clang::QualType 97 clang::QualType 100 clang::QualType CreateRecordType(PdbTypeSymId id, 102 clang::QualType CreateEnumType(PdbTypeSymId id, 104 clang::QualType 107 clang::QualType CreateType(PdbTypeSymId type); [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypeChecker.cpp | 59 void reportTypeError(QualType DynamicType, QualType StaticType, 68 void DynamicTypeChecker::reportTypeError(QualType DynamicType, in reportTypeError() 69 QualType StaticType, in reportTypeError() 80 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError() 115 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 121 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 124 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 129 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 132 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 170 QualType DynType = DynTypeInfo.getType(); in checkPostStmt() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | TypeTraits.cpp | 21 bool classHasTrivialCopyAndDestroy(QualType Type) { in classHasTrivialCopyAndDestroy() 28 bool hasDeletedCopyConstructor(QualType Type) { in hasDeletedCopyConstructor() 41 llvm::Optional<bool> isExpensiveToCopy(QualType Type, in isExpensiveToCopy() 92 bool isTriviallyDefaultConstructible(QualType Type, const ASTContext &Context) { in isTriviallyDefaultConstructible() 122 QualType CanonicalType = Type.getCanonicalType(); in isTriviallyDefaultConstructible() 139 bool isTriviallyDestructible(QualType Type) { in isTriviallyDestructible() 149 return Type.isDestructedType() == QualType::DK_none; in isTriviallyDestructible() 152 bool hasNonTrivialMoveConstructor(QualType Type) { in hasNonTrivialMoveConstructor() 158 bool hasNonTrivialMoveAssignment(QualType Type) { in hasNonTrivialMoveAssignment()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangUtil.cpp | 36 QualType ClangUtil::GetQualType(const CompilerType &ct) { in GetQualType() 39 return QualType(); in GetQualType() 41 return QualType::getFromOpaquePtr(ct.GetOpaqueQualType()); in GetQualType() 44 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { in GetCanonicalQualType() 46 return QualType(); in GetCanonicalQualType() 55 QualType qual_type(GetQualType(ct)); in RemoveFastQualifiers() 61 clang::QualType qual_type = ClangUtil::GetCanonicalQualType(type); in GetAsTagDecl() 82 return clang::QualType(t, 0).getAsString(); in ToString()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TypeLocBuilder.h | 37 QualType LastTy; 68 TypeSpecTypeLoc pushTypeSpec(QualType T) { in pushTypeSpec() 77 LastTy = QualType(); in clear() 85 void TypeWasModifiedSafely(QualType T) { in TypeWasModifiedSafely() 93 template <class TyLocType> TyLocType push(QualType T) { in push() 101 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() 114 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext() 127 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment); 138 TypeLoc getTemporaryTypeLoc(QualType T) { in getTemporaryTypeLoc()
|