| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 1293 QualType getAdjustedType(QualType Orig, QualType New) const; 1309 QualType getAtomicType(QualType T) const; 1488 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args, in getFunctionType() 1497 QualType getFunctionTypeInternal(QualType ResultTy, ArrayRef<QualType> Args, 1605 QualType getObjCObjectType(QualType Base, 1638 QualType getUnaryTransformType(QualType BaseType, QualType UnderlyingType, 2752 QualType mergeTypes(QualType, QualType, bool OfBlockPointer=false, 2754 QualType mergeFunctionTypes(QualType, QualType, bool OfBlockPointer=false, 2756 QualType mergeFunctionParameterTypes(QualType, QualType, 2759 QualType mergeTransparentUnionType(QualType, QualType, [all …]
|
| H A D | Type.h | 61 class QualType; variable 1279 QualType substObjCMemberType(QualType objectType, 1299 static QualType IgnoreParens(QualType T); 2613 ParenType(QualType InnerType, QualType CanonType) 2701 DecayedType(QualType OriginalType, QualType Decayed, QualType Canonical); 2986 IncompleteArrayType(QualType et, QualType can, 4472 TypeOfType(QualType T, QualType can) 4497 DecltypeType(Expr *E, QualType underlyingType, QualType can = QualType()); 5859 ObjCObjectType(QualType Canonical, QualType Base, 6250 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() 39 template<> struct DenseMapInfo<clang::QualType> { 40 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 42 static inline clang::QualType getTombstoneKey() { 43 using clang::QualType; 44 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1)); 47 static unsigned getHashValue(clang::QualType Val) { 52 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> { 374 QualType finalCanonicalType = 376 : QualType(); 566 return QualType(T, 0); 647 QualType result; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SValBuilder.h | 70 const QualType ArrayIndexTy; 75 SVal evalCastKind(UndefinedVal V, QualType CastTy, QualType OriginalTy); 76 SVal evalCastKind(UnknownVal V, QualType CastTy, QualType OriginalTy); 77 SVal evalCastKind(Loc V, QualType CastTy, QualType OriginalTy); 78 SVal evalCastKind(NonLoc V, QualType CastTy, QualType OriginalTy); 81 SVal evalCastSubKind(loc::GotoLabel V, QualType CastTy, QualType OriginalTy); 111 bool haveSameType(QualType Ty1, QualType Ty2) { in haveSameType() 119 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy); 174 QualType getConditionType() const { in getConditionType() 178 QualType getArrayIndexType() const { in getArrayIndexType() [all …]
|
| H A D | SymbolManager.h | 67 QualType getType() const override; 79 QualType T; 102 QualType getType() const override; 212 QualType T; 268 QualType FromTy; 271 QualType ToTy; 274 SymbolCast(const SymExpr *In, QualType From, QualType To) in SymbolCast() 295 const SymExpr *In, QualType From, QualType To) { in Profile() 315 QualType T; 366 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;
|
| /freebsd-13.1/contrib/llvm-project/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() 841 QualType recurse(QualType type) { in recurse() 1478 QualType QualType::substObjCTypeArgs(ASTContext &ctx, in substObjCTypeArgs() 1485 QualType QualType::substObjCMemberType(QualType objectType, in substObjCMemberType() 1501 QualType QualType::getAtomicUnqualifiedType() const { in getAtomicUnqualifiedType() 3107 QualType QualType::getNonPackExpansionType() const { in getNonPackExpansionType() 3692 QualType 3700 QualType [all …]
|
| H A D | ASTContext.cpp | 2927 QualType 3230 QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { in getAdjustedType() 3323 QualType 3953 QualType 3994 QualType 4277 QualType Existing = QualType(FPT, 0); in getFunctionTypeInternal() 9412 QualType ASTContext::mergeTransparentUnionType(QualType T, QualType SubType, in mergeTransparentUnionType() 9432 QualType ASTContext::mergeFunctionParameterTypes(QualType lhs, QualType rhs, in mergeFunctionParameterTypes() 9451 QualType ASTContext::mergeFunctionTypes(QualType lhs, QualType rhs, in mergeFunctionTypes() 9651 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 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { in Desugar() 145 QualType Underlying; in Desugar() 243 QualType CompareTy = in ConvertTypeToDiagnosticString() 277 QualType PrevTy(QualType::getFromOpaquePtr(Ptr)); in ConvertTypeToDiagnosticString() 374 QualType ToType = in FormatASTNodeDiagnosticArgument() 402 QualType Ty(QualType::getFromOpaquePtr(reinterpret_cast<void*>(Val))); in FormatASTNodeDiagnosticArgument() 624 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, in SetTypeDiff() 653 QualType FromIntType, QualType ToIntType, in SetIntegerDiff() 789 void GetTypeDiff(QualType &FromType, QualType &ToType) { in GetTypeDiff() 809 QualType &FromIntType, QualType &ToIntType, in GetIntegerDiff() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Initialization.h | 141 QualType Type; 429 QualType getType() const { return Type; } in getType() 930 QualType Type; 1109 QualType FailedIncompleteType; 1269 void AddFinalCopy(QualType T); 1275 QualType T, 1289 void AddAtomicConversionStep(QualType Ty); 1317 void AddCAssignmentStep(QualType T); 1320 void AddStringInitStep(QualType T); 1327 void AddArrayInitLoopStep(QualType T, QualType EltTy); [all …]
|
| H A D | Overload.h | 335 void setToType(unsigned Idx, QualType T) { in setToType() 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() 493 void init(FailureKind K, QualType From, QualType To) { in init() 500 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType() 501 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); } in getToType() 651 QualType FromType, QualType ToType) { in setBad() [all …]
|
| H A D | Sema.h | 1943 QualType BuildPointerType(QualType T, 1994 QualType BuildFunctionType(QualType T, 1999 QualType BuildMemberPointerType(QualType T, QualType Class, 2002 QualType BuildBlockPointerType(QualType T, 2004 QualType BuildParenType(QualType T); 2006 QualType BuildReadPipeType(QualType T, 2008 QualType BuildWritePipeType(QualType T, 8378 QualType adjustCCAndNoReturn(QualType ArgFunctionType, QualType FunctionType, 8515 QualType SubstAutoType(QualType TypeWithAuto, QualType Replacement); 8521 QualType ReplaceAutoType(QualType TypeWithAuto, QualType Replacement); [all …]
|
| /freebsd-13.1/contrib/llvm-project/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() 358 QualType BaseEltQT; in visitArray() 556 QualType RT = QualType(FD->getParent()->getTypeForDecl(), 0); in visitVolatileTrivial() 585 void visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 625 void visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, in visitWithKind() 658 QualType EltTy = Ctx.getBaseElementType(QualType(AT, 0)); in visitArray() [all …]
|
| H A D | CGCXXABI.h | 67 llvm::Constant *GetBogusMemberPointer(QualType T); 250 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0; 252 getAddrOfCXXCatchHandlerType(QualType Ty, QualType CatchHandlerType) = 0; 256 QualType SrcRecordTy) = 0; 267 QualType SrcRecordTy, QualType DestTy, 272 QualType SrcRecordTy, 273 QualType DestTy) = 0; 302 QualType Type; 492 RValue RV, QualType ResultType); 532 QualType ElementType); [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCTypeEncodingParser.cpp | 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() 276 return clang::QualType(); in BuildType() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 93 QualType fromTy, QualType toTy) { in makeNonLoc() 119 QualType T = region->getValueType(); in getRegionValueSymbolVal() 139 QualType T = Ex->getType(); in conjureSymbolVal() 146 QualType ExType = Ex->getType(); in conjureSymbolVal() 194 QualType T = E->getType(); in getConjuredHeapSymbolVal() 296 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis() 521 QualType castTy, QualType originalTy) { in evalIntegralCast() 572 SVal SValBuilder::evalCast(SVal V, QualType CastTy, QualType OriginalTy) { in evalCast() 619 SVal SValBuilder::evalCastKind(Loc V, QualType CastTy, QualType OriginalTy) { in evalCastKind() 632 SVal SValBuilder::evalCastKind(NonLoc V, QualType CastTy, QualType OriginalTy) { in evalCastKind() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 24 class QualType; variable 71 clang::QualType GetBasicType(lldb::BasicType type); 75 bool CompleteType(clang::QualType qt); 78 CompilerType ToCompilerType(clang::QualType qt); 93 clang::QualType 95 clang::QualType 98 clang::QualType CreateRecordType(PdbTypeSymId id, 100 clang::QualType CreateEnumType(PdbTypeSymId id, 102 clang::QualType 105 clang::QualType CreateType(PdbTypeSymId type); [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 394 const QualType Irrelevant{}; 404 QualType RetTy; 448 QualType T = (ArgN == Ret) in getArgType() 914 QualType ArgTy = ArgTys[I]; in matches() 917 QualType FDArgTy = in matches() 999 QualType operator()(QualType Ty) { in initFunctionSummaries() 1002 Optional<QualType> operator()(Optional<QualType> Ty) { in initFunctionSummaries() 1013 QualType operator()(QualType Ty) { return ACtx.getPointerType(Ty); } in initFunctionSummaries() 1014 Optional<QualType> operator()(Optional<QualType> Ty) { in initFunctionSummaries() 1022 Optional<QualType> operator()(Optional<QualType> Ty) { in initFunctionSummaries() [all …]
|
| 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 …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|