| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeOrdering.h | 56 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 D | ASTContext.h | 1106 CanQualType VoidTy; 1107 CanQualType BoolTy; 1108 CanQualType CharTy; 1131 CanQualType BFloat16Ty; 1135 CanQualType BuiltinFnTy; 1147 CanQualType Id##Ty; 1153 CanQualType Id##Ty; 1343 CanQualType getComplexType(CanQualType T) const { in getComplexType() 1350 CanQualType getPointerType(CanQualType T) const { in getPointerType() 1357 CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const { in getAdjustedType() [all …]
|
| H A D | CanonicalType.h | 212 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 D | DeclarationName.h | 42 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 D | CXXInheritance.h | 195 bool isAmbiguous(CanQualType BaseType);
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | SemaFixItUtils.h | 34 static bool compareTypesSimple(CanQualType From, 35 CanQualType To, 51 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy, 52 const CanQualType ToTy,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.h | 42 typedef CanQual<Type> CanQualType; typedef 124 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD); 214 arrangeBuiltinFunctionDeclaration(CanQualType resultType, 215 ArrayRef<CanQualType> argTypes); 262 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType, 265 ArrayRef<CanQualType> argTypes,
|
| H A D | CodeGenABITypes.cpp | 64 CanQualType returnType, in arrangeFreeFunctionCall() 65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
|
| H A D | CGCall.cpp | 201 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType() 267 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType() 322 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration() 368 static SmallVector<CanQualType, 16> 370 SmallVector<CanQualType, 16> argTypes; in getArgTypesForCall() 376 static SmallVector<CanQualType, 16> 378 SmallVector<CanQualType, 16> argTypes; in getArgTypesForDeclaration() 410 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() 486 SmallVector<CanQualType, 16> argTys; in arrangeObjCMessageSendSignature() 558 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure() [all …]
|
| H A D | SwiftCallingConv.cpp | 816 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType() 861 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType() 866 CanQualType type) { in classifyArgumentType()
|
| H A D | CGObjCMac.cpp | 239 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 …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 22 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 D | SemaAccess.cpp | 363 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo() 438 CanQualType Friend) { in MatchesFriend()
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 540 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 D | CodeGenABITypes.h | 78 CanQualType returnType, 79 ArrayRef<CanQualType> argTypes,
|
| H A D | SwiftCallingConv.h | 168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type); 171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclarationName.cpp | 310 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 D | DeclCXX.cpp | 214 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases() 1634 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType() 1656 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument 1662 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions() 1663 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions() 1674 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() 1729 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions() 2700 CanQualType PointeeType in isCopyOrMoveConstructor() 2702 CanQualType ClassTy in isCopyOrMoveConstructor() 2739 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() [all …]
|
| H A D | ASTContext.cpp | 1275 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType() 4304 CanQualType 4312 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType() 5850 CanQualType ASTContext::getSizeType() const { in getSizeType() 5856 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType() 5861 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType() 5866 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType() 5930 return CanQualType::CreateUnsafe(Result); in getCanonicalParamType() 7459 CanQualType ASTContext::getNSIntegerType() const { in getNSIntegerType() 8060 CanQualType CT = getCanonicalType(T); in getObjCEncodingForTypeImpl() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StringChecker.cpp | 28 mutable CanQualType SizeTypeTy;
|
| H A D | GTestChecker.cpp | 222 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall()
|
| H A D | VLASizeChecker.cpp | 97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | MemRegion.h | 632 CanQualType locTy; 634 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion() 643 CanQualType, const AnalysisDeclContext*, 1505 CanQualType locTy,
|
| H A D | SValBuilder.h | 231 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | SValTest.cpp | 43 const CanQualType &T) { in operator <<()
|