Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeOrdering.h57 template<> struct DenseMapInfo<clang::CanQualType> {
58 static inline clang::CanQualType getEmptyKey() {
59 return clang::CanQualType();
62 static inline clang::CanQualType getTombstoneKey() {
63 using clang::CanQualType;
64 return CanQualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
67 static unsigned getHashValue(clang::CanQualType Val) {
72 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
H A DASTContext.h1001 CanQualType VoidTy;
1002 CanQualType BoolTy;
1003 CanQualType CharTy;
1004 CanQualType WCharTy; // [C++ 3.9.1p5].
1005 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
1006 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
1007 CanQualType Char8Ty; // [C++20 proposal]
1008 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
1009 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
1010 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()); \
407 CanQualType,
409 CanProxy<Type>, CanQualType> {
414 CanQualType operator*() const { return CanQualType::CreateUnsafe(*this->I); }
509 CanQualType getParamType(unsigned i) const {
[all …]
H A DDeclarationName.h43 using CanQualType = CanQual<Type>; variable
618 DeclarationName getCXXConstructorName(CanQualType Ty);
621 DeclarationName getCXXDestructorName(CanQualType Ty);
627 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
636 CanQualType Ty);
H A DCXXInheritance.h195 bool isAmbiguous(CanQualType BaseType);
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTypes.h47 typedef CanQual<Type> CanQualType; typedef
128 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
218 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
219 ArrayRef<CanQualType> argTypes);
266 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType,
269 ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp64 CanQualType returnType, in arrangeFreeFunctionCall()
65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp76 CanQualType CodeGenTypes::DeriveThisType(const CXXRecordDecl *RD, in DeriveThisType()
86 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
99 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
146 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
179 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
185 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
197 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
257 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
268 static void setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM, in setCUDAKernelCallingConvention()
286 CanQualType FT = GetFormalType(MD).getAs<Type>(); in arrangeCXXMethodDeclaration()
[all …]
H A DSwiftCallingConv.cpp815 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
860 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
865 CanQualType type) { in classifyArgumentType()
H A DCGObjCMac.cpp239 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getGetPropertyFn()
240 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getGetPropertyFn()
241 CanQualType Params[] = { in getGetPropertyFn()
254 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getSetPropertyFn()
255 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getSetPropertyFn()
256 CanQualType Params[] = { in getSetPropertyFn()
281 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
282 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
283 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getOptimizedSetPropertyFn()
308 SmallVector<CanQualType,5> Params; in getCopyStructFn()
[all …]
H A DCGCXXABI.h333 SmallVectorImpl<CanQualType> &ArgTys) = 0;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h540 CanQualType type;
621 CanQualType resultType,
622 ArrayRef<CanQualType> argTypes,
706 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
761 CanQualType resultType, in Profile()
762 ArrayRef<CanQualType> argTypes) { in Profile()
780 for (ArrayRef<CanQualType>::iterator in Profile()
H A DCodeGenABITypes.h86 CanQualType returnType,
87 ArrayRef<CanQualType> argTypes,
H A DSwiftCallingConv.h168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclarationName.cpp310 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
326 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
343 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { in getCXXConversionFunctionName()
360 CanQualType Ty) { in getCXXSpecialName()
H A DDeclCXX.cpp212 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1610 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1632 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1638 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1639 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1650 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1705 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2698 CanQualType PointeeType in isCopyOrMoveConstructor()
2700 CanQualType ClassTy in isCopyOrMoveConstructor()
2737 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DASTContext.cpp1260 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { in InitBuiltinType()
1262 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
4196 CanQualType
4198 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
4204 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
4353 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionTypeInternal()
5629 CanQualType ASTContext::getSizeType() const { in getSizeType()
5635 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
5640 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
5645 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
[all …]
H A DCXXInheritance.cpp40 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp222 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall()
H A DVLASizeChecker.cpp97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h623 CanQualType locTy;
625 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
634 CanQualType, const AnalysisDeclContext*,
1463 CanQualType locTy,
H A DSValBuilder.h254 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123