Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.h1077 CanQualType VoidTy;
1078 CanQualType BoolTy;
1079 CanQualType CharTy;
1080 CanQualType WCharTy; // [C++ 3.9.1p5].
1081 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
1082 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
1083 CanQualType Char8Ty; // [C++20 proposal]
1084 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
1085 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
1086 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 DDeclarationName.h42 using CanQualType = CanQual<Type>; variable
627 DeclarationName getCXXConstructorName(CanQualType Ty);
630 DeclarationName getCXXDestructorName(CanQualType Ty);
636 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
645 CanQualType Ty);
H A DCXXInheritance.h195 bool isAmbiguous(CanQualType BaseType);
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTypes.h42 typedef CanQual<Type> CanQualType; typedef
125 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
215 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
216 ArrayRef<CanQualType> argTypes);
263 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType,
266 ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp64 CanQualType returnType, in arrangeFreeFunctionCall()
65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp81 CanQualType CodeGenTypes::DeriveThisType(const CXXRecordDecl *RD, in DeriveThisType()
91 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
104 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
151 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
184 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
190 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
202 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
268 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
279 static void setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM, in setCUDAKernelCallingConvention()
297 CanQualType FT = GetFormalType(MD).getAs<Type>(); in arrangeCXXMethodDeclaration()
[all …]
H A DSwiftCallingConv.cpp810 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
855 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
860 CanQualType type) { in classifyArgumentType()
H A DCGCoroutine.cpp681 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
688 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 …]
/openbsd-src/gnu/llvm/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.cpp363 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
438 CanQualType Friend) { in MatchesFriend()
/openbsd-src/gnu/llvm/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h540 CanQualType type;
624 CanQualType resultType,
625 ArrayRef<CanQualType> argTypes,
709 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
775 CanQualType resultType, in Profile()
776 ArrayRef<CanQualType> argTypes) { in Profile()
794 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);
/openbsd-src/gnu/llvm/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()
1663 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1685 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1691 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1692 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1703 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1758 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2729 CanQualType PointeeType in isCopyOrMoveConstructor()
2731 CanQualType ClassTy in isCopyOrMoveConstructor()
2768 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DASTContext.cpp1247 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { in InitBuiltinType()
1249 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
4342 CanQualType
4344 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
4350 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
4499 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionTypeInternal()
5899 CanQualType ASTContext::getSizeType() const { in getSizeType()
5905 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
5910 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
5915 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp28 mutable CanQualType SizeTypeTy;
H A DGTestChecker.cpp223 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall()
H A DVLASizeChecker.cpp98 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h632 CanQualType locTy;
634 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
643 CanQualType, const AnalysisDeclContext*,
1517 CanQualType locTy,
H A DSValBuilder.h231 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123