Home
last modified time | relevance | path

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

123

/freebsd/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.h1118 CanQualType VoidTy;
1119 CanQualType BoolTy;
1120 CanQualType CharTy;
1121 CanQualType WCharTy; // [C++ 3.9.1p5].
1122 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
1123 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
1124 CanQualType Char8Ty; // [C++20 proposal]
1125 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
1126 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
1127 CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;
[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 DFormatString.h308 ArgType(CanQualType T) : K(SpecificTy), T(T) {} in ArgType()
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h42 typedef CanQual<Type> CanQualType; typedef
114 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
227 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
228 ArrayRef<CanQualType> argTypes);
276 CanQualType returnType, FnInfoOpts opts, ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp64 CanQualType returnType, in arrangeFreeFunctionCall()
65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp87 CanQualType CodeGenTypes::DeriveThisType(const CXXRecordDecl *RD, in DeriveThisType()
97 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
110 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
156 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
189 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
195 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
207 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
282 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
293 static void setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM, in setCUDAKernelCallingConvention()
311 CanQualType FT = GetFormalType(MD).getAs<Type>(); in arrangeCXXMethodDeclaration()
[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.cpp982 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
989 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()
256 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getSetPropertyFn()
257 CanQualType Params[] = { in getSetPropertyFn()
282 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
283 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
284 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getOptimizedSetPropertyFn()
309 SmallVector<CanQualType,5> Params; in getCopyStructFn()
[all …]
H A DCGCXXABI.h364 SmallVectorImpl<CanQualType> &ArgTys) = 0;
/freebsd/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.cpp371 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
446 CanQualType Friend) { in MatchesFriend()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h545 CanQualType type;
642 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
643 ArrayRef<CanQualType> argTypes, RequiredArgs required);
728 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
793 RequiredArgs required, CanQualType resultType, in Profile()
794 ArrayRef<CanQualType> argTypes) { in Profile()
813 for (ArrayRef<CanQualType>::iterator in Profile()
H A DCodeGenABITypes.h79 CanQualType returnType,
80 ArrayRef<CanQualType> argTypes,
H A DSwiftCallingConv.h168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/freebsd/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.cpp215 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1746 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1768 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1774 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1775 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1786 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1841 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2836 CanQualType PointeeType in isCopyOrMoveConstructor()
2838 CanQualType ClassTy in isCopyOrMoveConstructor()
2875 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DCXXInheritance.cpp39 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous()
H A DASTContext.cpp1211 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { in InitBuiltinType()
1213 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
4730 CanQualType
4732 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
4738 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
4887 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionTypeInternal()
6355 CanQualType ASTContext::getSizeType() const { in getSizeType()
6361 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
6366 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
6371 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp28 mutable CanQualType SizeTypeTy;
H A DVLASizeChecker.cpp97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h636 CanQualType locTy;
638 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
647 CanQualType, const AnalysisDeclContext*,
1581 CanQualType locTy,
H A DSValBuilder.h252 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123