Home
last modified time | relevance | path

Searched refs:QualType (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h1233 QualType getAdjustedType(QualType Orig, QualType New) const;
1249 QualType getAtomicType(QualType T) const;
1380 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args, in getFunctionType()
1389 QualType getFunctionTypeInternal(QualType ResultTy, ArrayRef<QualType> Args,
1486 QualType getObjCObjectType(QualType Base,
1518 QualType getUnaryTransformType(QualType BaseType, QualType UnderlyingType,
2567 QualType mergeTypes(QualType, QualType, bool OfBlockPointer=false,
2569 QualType mergeFunctionTypes(QualType, QualType, bool OfBlockPointer=false,
2571 QualType mergeFunctionParameterTypes(QualType, QualType,
2574 QualType mergeTransparentUnionType(QualType, QualType,
[all …]
H A DType.h61 class QualType; variable
1206 QualType substObjCMemberType(QualType objectType,
1226 static QualType IgnoreParens(QualType T);
2512 ParenType(QualType InnerType, QualType CanonType)
2626 DecayedType(QualType OriginalType, QualType Decayed, QualType Canonical);
2834 ArrayType(TypeClass tc, QualType et, QualType can,
2929 IncompleteArrayType(QualType et, QualType can,
4224 TypeOfType(QualType T, QualType can)
4253 DecltypeType(Expr *E, QualType underlyingType, QualType can = QualType());
5579 ObjCObjectType(QualType Canonical, QualType Base,
[all …]
H A DNonTrivialTypeVisitor.h29 RetTy visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind()
36 case QualType::DK_none: in visitWithKind()
62 case QualType::PDIK_ARCStrong: in visitWithKind()
64 case QualType::PDIK_ARCWeak: in visitWithKind()
66 case QualType::PDIK_Struct: in visitWithKind()
68 case QualType::PDIK_Trivial: in visitWithKind()
88 RetTy visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind()
93 case QualType::PCK_ARCStrong: in visitWithKind()
95 case QualType::PCK_ARCWeak: in visitWithKind()
97 case QualType::PCK_Struct: in visitWithKind()
[all …]
H A DTypeOrdering.h30 bool operator()(QualType T1, QualType T2) const { in operator()
40 template<> struct DenseMapInfo<clang::QualType> {
41 static inline clang::QualType getEmptyKey() { return clang::QualType(); }
43 static inline clang::QualType getTombstoneKey() {
44 using clang::QualType;
45 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
48 static unsigned getHashValue(clang::QualType Val) {
53 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp282 QualType QualType::getDesugaredType(QualType T, const ASTContext &Context) { in getDesugaredType()
287 QualType QualType::getSingleStepDesugaredTypeImpl(QualType type, in getSingleStepDesugaredTypeImpl()
376 QualType QualType::IgnoreParens(QualType T) { in IgnoreParens()
738 QualType recurse(QualType type) { in recurse()
1139 QualType QualType::substObjCTypeArgs( in substObjCTypeArgs()
1328 QualType QualType::substObjCMemberType(QualType objectType, in substObjCMemberType()
1341 [&](QualType type) -> QualType { in stripObjCKindOfType()
1361 QualType QualType::getAtomicUnqualifiedType() const { in getAtomicUnqualifiedType()
3368 QualType
3376 QualType
[all …]
H A DASTContext.cpp2622 QualType
2873 QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { in getAdjustedType()
2966 QualType
3414 QualType
3455 QualType
3666 QualType Existing = QualType(FPT, 0); in getFunctionTypeInternal()
8459 QualType ASTContext::mergeTransparentUnionType(QualType T, QualType SubType, in mergeTransparentUnionType()
8479 QualType ASTContext::mergeFunctionParameterTypes(QualType lhs, QualType rhs, in mergeFunctionParameterTypes()
8498 QualType ASTContext::mergeFunctionTypes(QualType lhs, QualType rhs, in mergeFunctionTypes()
8697 QualType ASTContext::mergeTypes(QualType LHS, QualType RHS, in mergeTypes()
[all …]
H A DInheritViz.cpp37 std::map<QualType, int, QualTypeOrdering> DirectBaseCount;
38 std::set<QualType, QualTypeOrdering> KnownVirtualBases;
44 void WriteGraph(QualType Type) { in WriteGraph()
54 void WriteNode(QualType Type, bool FromVirtual);
59 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual);
63 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { in WriteNode()
64 QualType CanonType = Context.getCanonicalType(Type); in WriteNode()
97 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode()
125 InheritanceHierarchyWriter::WriteNodeReference(QualType Type, in WriteNodeReference()
127 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
[all …]
H A DASTDiagnostic.cpp29 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { in Desugar()
140 QualType Underlying; in Desugar()
238 QualType CompareTy = in ConvertTypeToDiagnosticString()
272 QualType PrevTy(QualType::getFromOpaquePtr(Ptr)); in ConvertTypeToDiagnosticString()
355 QualType ToType = in FormatASTNodeDiagnosticArgument()
383 QualType Ty(QualType::getFromOpaquePtr(reinterpret_cast<void*>(Val))); in FormatASTNodeDiagnosticArgument()
606 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, in SetTypeDiff()
635 QualType FromIntType, QualType ToIntType, in SetIntegerDiff()
771 void GetTypeDiff(QualType &FromType, QualType &ToType) { in GetTypeDiff()
791 QualType &FromIntType, QualType &ToIntType, in GetIntegerDiff()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp85 clang::QualType
93 clang::QualType
105 return clang::QualType(); in BuildAggregate()
115 return clang::QualType(); in BuildAggregate()
131 return clang::QualType(); in BuildAggregate()
138 return clang::QualType(); in BuildAggregate()
162 clang::QualType
167 return clang::QualType(); in BuildArray()
171 return clang::QualType(); in BuildArray()
174 return clang::QualType(); in BuildArray()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DInitialization.h139 QualType Type;
413 QualType getType() const { return Type; } in getType()
907 QualType Type;
1080 QualType FailedIncompleteType;
1251 void AddFinalCopy(QualType T);
1257 QualType T,
1273 void AddLValueToRValueStep(QualType Ty);
1301 void AddCAssignmentStep(QualType T);
1304 void AddStringInitStep(QualType T);
1311 void AddArrayInitLoopStep(QualType T, QualType EltTy);
[all …]
H A DOverload.h306 void setToType(unsigned Idx, QualType T) { in setToType()
311 void setAllToTypes(QualType T) { in setAllToTypes()
317 QualType getFromType() const { in getFromType()
321 QualType getToType(unsigned Idx) const { in getToType()
397 QualType getFromType() const { in getFromType()
401 QualType getToType() const { in getToType()
464 void init(FailureKind K, QualType From, QualType To) { in init()
471 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType()
472 QualType getToType() const { return QualType::getFromOpaquePtr(ToTy); } in getToType()
622 QualType FromType, QualType ToType) { in setBad()
[all …]
H A DSema.h1404 QualType BuildPointerType(QualType T,
1446 QualType BuildFunctionType(QualType T,
1451 QualType BuildMemberPointerType(QualType T, QualType Class,
1454 QualType BuildBlockPointerType(QualType T,
1456 QualType BuildParenType(QualType T);
1458 QualType BuildReadPipeType(QualType T,
1460 QualType BuildWritePipeType(QualType T,
6930 QualType adjustCCAndNoReturn(QualType ArgFunctionType, QualType FunctionType,
7064 QualType SubstAutoType(QualType TypeWithAuto, QualType Replacement);
7070 QualType ReplaceAutoType(QualType TypeWithAuto, QualType Replacement);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h71 const QualType ArrayIndexTy;
98 bool haveSameType(QualType Ty1, QualType Ty2) { in haveSameType()
106 SVal evalCast(SVal val, QualType castTy, QualType originalType);
110 QualType originalType);
146 SVal lhs, SVal rhs, QualType type);
161 QualType getConditionType() const { in getConditionType()
165 QualType getArrayIndexType() const { in getArrayIndexType()
182 QualType type,
196 DefinedOrUnknownSVal makeZeroVal(QualType type);
333 NonLoc makeNonLoc(const SymExpr *operand, QualType fromTy, QualType toTy);
[all …]
H A DSymbolManager.h66 QualType getType() const override;
78 QualType T;
101 QualType getType() const override;
205 QualType T;
259 QualType FromTy;
262 QualType ToTy;
265 SymbolCast(const SymExpr *In, QualType From, QualType To) in SymbolCast()
286 const SymExpr *In, QualType From, QualType To) { in Profile()
306 QualType T;
425 QualType t) in SymSymExpr()
[all …]
H A DSMTConv.h328 QualType ToTy) { in getCastExpr()
374 QualType LTy, RTy; in getSymBinExpr()
423 QualType FromTy; in getSymExpr()
495 QualType FromTy; in getRangeExpr()
502 QualType SymTy; in getRangeExpr()
510 QualType ToTy; in getRangeExpr()
530 static inline QualType getAPSIntType(ASTContext &Ctx, in getAPSIntType()
536 static inline std::pair<llvm::APSInt, QualType>
556 QualType &LTy, QualType &RTy) { in doTypeConversion()
699 QualType NewTy = in doIntTypeConversion()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DConstantEmitter.h75 QualType destType);
77 QualType destType);
103 llvm::Constant *emitAbstract(const Expr *E, QualType T);
105 QualType T);
108 llvm::Constant *tryEmitAbstract(const Expr *E, QualType T);
111 llvm::Constant *tryEmitAbstract(const APValue &value, QualType T);
114 llvm::Constant *emitNullForMemory(QualType T) { in emitNullForMemory()
117 llvm::Constant *emitForMemory(llvm::Constant *C, QualType T) { in emitForMemory()
123 QualType T);
131 llvm::Constant *tryEmitPrivate(const Expr *E, QualType T);
[all …]
H A DCGNonTrivialStruct.cpp45 QualType FT = FD->getType(); in visitStructFields()
86 void preVisit(QualType::PrimitiveCopyKind PCK, QualType FT, in preVisit()
94 void visitWithKind(QualType::PrimitiveCopyKind PCK, QualType FT, in visitWithKind()
273 void visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, in visitWithKind()
291 void visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind()
345 QualType BaseEltQT; in visitArray()
548 QualType RT = QualType(FD->getParent()->getTypeForDecl(), 0); in visitVolatileTrivial()
577 void visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind()
617 void visitWithKind(QualType::PrimitiveDefaultInitializeKind PDIK, QualType FT, in visitWithKind()
650 QualType EltTy = Ctx.getBaseElementType(QualType(AT, 0)); in visitArray()
[all …]
H A DCGCXXABI.h67 llvm::Constant *GetBogusMemberPointer(QualType T);
251 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0;
253 getAddrOfCXXCatchHandlerType(QualType Ty, QualType CatchHandlerType) = 0;
257 QualType SrcRecordTy) = 0;
268 QualType SrcRecordTy, QualType DestTy,
273 QualType SrcRecordTy,
274 QualType DestTy) = 0;
457 RValue RV, QualType ResultType);
497 QualType ElementType);
524 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h25 class QualType; variable
75 clang::QualType GetBasicType(lldb::BasicType type);
79 bool CompleteType(clang::QualType qt);
82 CompilerType ToCompilerType(clang::QualType qt);
96 clang::QualType
98 clang::QualType
101 clang::QualType CreateRecordType(PdbTypeSymId id,
103 clang::QualType CreateEnumType(PdbTypeSymId id,
105 clang::QualType
107 clang::QualType CreateType(PdbTypeSymId type);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DTreeTransform.h293 QualType TransformType(QualType T);
318 QualType TransformTypeWithDeducedTST(QualType T);
610 QualType
615 QualType
724 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
761 QualType RebuildArrayType(QualType ElementType,
861 QualType RebuildFunctionProtoType(QualType T,
941 QualType RebuildParenType(QualType InnerType) { in RebuildParenType()
4175 QualType
4241 QualType
[all …]
H A DSemaCast.cpp73 QualType DestType;
74 QualType ResultType;
135 void checkAddressSpaceCast(QualType SrcType, QualType DestType);
482 unwrapCastAwayConstnessLevel(ASTContext &Context, QualType &T1, QualType &T2) { in unwrapCastAwayConstnessLevel()
560 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, in CastsAwayConstness()
692 QualType DestPointee; in CheckDynamicCast()
728 QualType SrcPointee; in CheckDynamicCast()
928 QualType BaseType = in DiagnoseReinterpretUpDownCast()
930 QualType DerivedType = in DiagnoseReinterpretUpDownCast()
1050 static bool IsAddressSpaceConversion(QualType SrcType, QualType DestType) { in IsAddressSpaceConversion()
[all …]
H A DTypeLocBuilder.h38 QualType LastTy;
71 TypeSpecTypeLoc pushTypeSpec(QualType T) { in pushTypeSpec()
80 LastTy = QualType(); in clear()
88 void TypeWasModifiedSafely(QualType T) { in TypeWasModifiedSafely()
96 template <class TyLocType> TyLocType push(QualType T) { in push()
104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
117 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext()
130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment);
141 TypeLoc getTemporaryTypeLoc(QualType T) { in getTemporaryTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp60 void reportTypeError(QualType DynamicType, QualType StaticType,
69 void DynamicTypeChecker::reportTypeError(QualType DynamicType, in reportTypeError()
70 QualType StaticType, in reportTypeError()
81 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
118 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
124 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
127 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
132 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
135 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
174 QualType DynType = DynTypeInfo.getType(); in checkPostStmt()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangUtil.cpp28 QualType ClangUtil::GetQualType(const CompilerType &ct) { in GetQualType()
31 return QualType(); in GetQualType()
33 return QualType::getFromOpaquePtr(ct.GetOpaqueQualType()); in GetQualType()
36 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { in GetCanonicalQualType()
38 return QualType(); in GetCanonicalQualType()
47 QualType qual_type(GetQualType(ct)); in RemoveFastQualifiers()
53 clang::QualType qual_type = ClangUtil::GetCanonicalQualType(type); in GetAsTagDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp36 static bool isDispatchBlock(QualType Ty) { in isDispatchBlock()
254 QualType Ty = Callback->getType(); in create_call_once_funcptr_call()
448 QualType DerefType = Deref->getType(); in create_call_once()
485 QualType PredicateQPtrTy = Predicate->getType(); in create_dispatch_once()
495 QualType Ty = Block->getType(); in create_dispatch_once()
568 QualType Ty = PV->getType(); in create_dispatch_sync()
604 QualType ResultTy = D->getReturnType(); in create_OSAtomicCompareAndSwap()
610 QualType OldValueTy = OldValue->getType(); in create_OSAtomicCompareAndSwap()
613 QualType NewValueTy = NewValue->getType(); in create_OSAtomicCompareAndSwap()
618 QualType TheValueTy = TheValue->getType(); in create_OSAtomicCompareAndSwap()
[all …]

12345678910>>...15