Home
last modified time | relevance | path

Searched refs:CanQualType (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTypeOrdering.h56 template<> struct DenseMapInfo<clang::CanQualType> {
57 static inline clang::CanQualType getEmptyKey() {
58 return clang::CanQualType();
61 static inline clang::CanQualType getTombstoneKey() {
62 using clang::CanQualType;
63 return CanQualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
66 static unsigned getHashValue(clang::CanQualType Val) {
71 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
H A DASTContext.h1083 CanQualType VoidTy;
1084 CanQualType BoolTy;
1085 CanQualType CharTy;
1108 CanQualType BFloat16Ty;
1112 CanQualType BuiltinFnTy;
1124 CanQualType Id##Ty;
1130 CanQualType Id##Ty;
1330 CanQualType getComplexType(CanQualType T) const { in getComplexType()
1337 CanQualType getPointerType(CanQualType T) const { in getPointerType()
1344 CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const { in getAdjustedType()
[all …]
H A DCanonicalType.h212 using CanQualType = CanQual<Type>; variable
214 inline CanQualType Type::getCanonicalTypeUnqualified() const { in getCanonicalTypeUnqualified()
215 return CanQualType::CreateUnsafe(getCanonicalTypeInternal()); in getCanonicalTypeUnqualified()
219 CanQualType T) {
229 CanQualType Accessor() const { \
230 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
406 CanQualType,
408 CanProxy<Type>, CanQualType> {
413 CanQualType operator*() const { return CanQualType::CreateUnsafe(*this->I); }
508 CanQualType getParamType(unsigned i) const {
[all …]
H A DDeclarationName.h42 using CanQualType = CanQual<Type>; variable
628 DeclarationName getCXXConstructorName(CanQualType Ty);
631 DeclarationName getCXXDestructorName(CanQualType Ty);
637 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
646 CanQualType Ty);
H A DCXXInheritance.h195 bool isAmbiguous(CanQualType BaseType);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaFixItUtils.h34 static bool compareTypesSimple(CanQualType From,
35 CanQualType To,
51 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
52 const CanQualType ToTy,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h42 typedef CanQual<Type> CanQualType; typedef
120 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
210 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
211 ArrayRef<CanQualType> argTypes);
259 CanQualType returnType, FnInfoOpts opts, ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp64 CanQualType returnType, in arrangeFreeFunctionCall()
65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp203 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
272 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
327 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
374 static SmallVector<CanQualType, 16>
376 SmallVector<CanQualType, 16> argTypes; in getArgTypesForCall()
382 static SmallVector<CanQualType, 16>
384 SmallVector<CanQualType, 16> argTypes; in getArgTypesForDeclaration()
416 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall()
492 SmallVector<CanQualType, 16> argTys; in arrangeObjCMessageSendSignature()
564 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure()
[all …]
H A DSwiftCallingConv.cpp811 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
856 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
861 CanQualType type) { in classifyArgumentType()
H A DCGCoroutine.cpp844 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
851 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
H A DCGObjCMac.cpp240 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getGetPropertyFn()
241 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getGetPropertyFn()
242 CanQualType Params[] = { in getGetPropertyFn()
255 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getSetPropertyFn()
257 CanQualType Params[] = { in getSetPropertyFn()
282 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
283 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
309 SmallVector<CanQualType,5> Params; in getCopyStructFn()
329 SmallVector<CanQualType,3> Params; in getCppAtomicObjectFunction()
343 SmallVector<CanQualType,1> Params; in getEnumerationMutationFn()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp22 bool ConversionFixItGenerator::compareTypesSimple(CanQualType From, in compareTypesSimple()
23 CanQualType To, in compareTypesSimple()
41 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
42 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
57 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion()
58 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
H A DSemaAccess.cpp373 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
448 CanQualType Friend) { in MatchesFriend()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h545 CanQualType type;
631 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
632 ArrayRef<CanQualType> argTypes, RequiredArgs required);
717 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
782 RequiredArgs required, CanQualType resultType, in Profile()
783 ArrayRef<CanQualType> argTypes) { in Profile()
802 for (ArrayRef<CanQualType>::iterator in Profile()
H A DCodeGenABITypes.h78 CanQualType returnType,
79 ArrayRef<CanQualType> argTypes,
H A DSwiftCallingConv.h168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp304 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
320 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
337 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { in getCXXConversionFunctionName()
354 CanQualType Ty) { in getCXXSpecialName()
H A DDeclCXX.cpp214 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1704 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1726 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1732 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1733 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1744 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1799 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2783 CanQualType PointeeType in isCopyOrMoveConstructor()
2785 CanQualType ClassTy in isCopyOrMoveConstructor()
2822 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DASTContext.cpp1183 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
4319 CanQualType
4327 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
5911 CanQualType ASTContext::getSizeType() const { in getSizeType()
5917 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
5922 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
5927 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
5991 return CanQualType::CreateUnsafe(Result); in getCanonicalParamType()
7571 CanQualType ASTContext::getNSIntegerType() const { in getNSIntegerType()
8178 CanQualType CT = getCanonicalType(T); in getObjCEncodingForTypeImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp28 mutable CanQualType SizeTypeTy;
H A DGTestChecker.cpp221 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall()
H A DVLASizeChecker.cpp97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h631 CanQualType locTy;
633 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
642 CanQualType, const AnalysisDeclContext*,
1576 CanQualType locTy,
H A DSValBuilder.h248 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123