Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/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.h1045 CanQualType VoidTy;
1046 CanQualType BoolTy;
1047 CanQualType CharTy;
1070 CanQualType BFloat16Ty;
1076 CanQualType BuiltinFnTy;
1088 CanQualType Id##Ty;
1094 CanQualType Id##Ty;
1280 CanQualType getComplexType(CanQualType T) const { in getComplexType()
1287 CanQualType getPointerType(CanQualType T) const { in getPointerType()
1294 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()); \
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);
/freebsd-13.1/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,
H A DCodeCompleteConsumer.h162 SimplifiedTypeClass getSimplifiedTypeClass(CanQualType T);
/freebsd-13.1/contrib/llvm-project/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.cpp198 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
258 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
313 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
359 static SmallVector<CanQualType, 16>
361 SmallVector<CanQualType, 16> argTypes; in getArgTypesForCall()
367 static SmallVector<CanQualType, 16>
369 SmallVector<CanQualType, 16> argTypes; in getArgTypesForDeclaration()
401 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall()
477 SmallVector<CanQualType, 16> argTys; in arrangeObjCMessageSendSignature()
549 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure()
[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()
256 CanQualType Params[] = { in getSetPropertyFn()
281 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
282 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
308 SmallVector<CanQualType,5> Params; in getCopyStructFn()
328 SmallVector<CanQualType,3> Params; in getCppAtomicObjectFunction()
342 SmallVector<CanQualType,1> Params; in getEnumerationMutationFn()
[all …]
H A DCGCXXABI.h333 SmallVectorImpl<CanQualType> &ArgTys) = 0;
/freebsd-13.1/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.cpp363 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
438 CanQualType Friend) { in MatchesFriend()
/freebsd-13.1/contrib/llvm-project/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.h169 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
172 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/freebsd-13.1/contrib/llvm-project/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.cpp213 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1619 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1641 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1647 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1648 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1659 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1714 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2684 CanQualType PointeeType in isCopyOrMoveConstructor()
2686 CanQualType ClassTy in isCopyOrMoveConstructor()
2723 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DASTContext.cpp1262 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
4211 CanQualType
4219 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
5644 CanQualType ASTContext::getSizeType() const { in getSizeType()
5650 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
5655 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
5660 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
5724 return CanQualType::CreateUnsafe(Result); in getCanonicalParamType()
6831 CanQualType ASTContext::getNSIntegerType() const { in getNSIntegerType()
7431 CanQualType CT = getCanonicalType(T); in getObjCEncodingForTypeImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.h262 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123