Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeOrdering.h58 template<> struct DenseMapInfo<clang::CanQualType> {
59 static inline clang::CanQualType getEmptyKey() {
60 return clang::CanQualType();
63 static inline clang::CanQualType getTombstoneKey() {
64 using clang::CanQualType;
65 return CanQualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1));
68 static unsigned getHashValue(clang::CanQualType Val) {
73 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
H A DASTContext.h1016 CanQualType VoidTy;
1017 CanQualType BoolTy;
1018 CanQualType CharTy;
1043 CanQualType Float128ComplexTy;
1046 CanQualType BuiltinFnTy;
1051 CanQualType SingletonId;
1057 CanQualType Id##Ty;
1220 CanQualType getComplexType(CanQualType T) const { in getComplexType()
1227 CanQualType getPointerType(CanQualType T) const { in getPointerType()
1234 CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const { in getAdjustedType()
[all …]
H A DCanonicalType.h213 using CanQualType = CanQual<Type>; variable
215 inline CanQualType Type::getCanonicalTypeUnqualified() const { in getCanonicalTypeUnqualified()
216 return CanQualType::CreateUnsafe(getCanonicalTypeInternal()); in getCanonicalTypeUnqualified()
220 CanQualType T) {
230 CanQualType Accessor() const { \
231 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.h44 using CanQualType = CanQual<Type>; variable
619 DeclarationName getCXXConstructorName(CanQualType Ty);
622 DeclarationName getCXXDestructorName(CanQualType Ty);
628 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
637 CanQualType Ty);
H A DCXXInheritance.h207 bool isAmbiguous(CanQualType BaseType);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaFixItUtils.h35 static bool compareTypesSimple(CanQualType From,
36 CanQualType To,
52 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
53 const CanQualType ToTy,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp23 bool ConversionFixItGenerator::compareTypesSimple(CanQualType From, in compareTypesSimple()
24 CanQualType To, in compareTypesSimple()
42 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
43 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
58 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion()
59 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion()
H A DSemaAccess.cpp351 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
426 CanQualType Friend) { in MatchesFriend()
H A DSemaCast.cpp195 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType,
196 CanQualType DestType, bool CStyle,
1385 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, in TryStaticDowncast()
H A DSemaExceptionSpec.cpp568 llvm::SmallPtrSet<CanQualType, 8> OldTypes, NewTypes; in CheckEquivalentExceptionSpecImpl()
573 CanQualType TypePtr = S.Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpecImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.h48 typedef CanQual<Type> CanQualType; typedef
280 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
281 ArrayRef<CanQualType> argTypes);
329 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType,
332 ArrayRef<CanQualType> argTypes,
H A DCodeGenABITypes.cpp59 CanQualType returnType, in arrangeFreeFunctionCall()
60 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp192 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
251 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
309 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
361 static SmallVector<CanQualType, 16>
363 SmallVector<CanQualType, 16> argTypes; in getArgTypesForCall()
369 static SmallVector<CanQualType, 16>
371 SmallVector<CanQualType, 16> argTypes; in getArgTypesForDeclaration()
403 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall()
476 SmallVector<CanQualType, 16> argTys; in arrangeObjCMessageSendSignature()
550 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure()
[all …]
H A DSwiftCallingConv.cpp798 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
843 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
848 CanQualType type) { in classifyArgumentType()
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()
257 CanQualType Params[] = { in getSetPropertyFn()
282 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
283 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
309 SmallVector<CanQualType,5> Params; in getCopyStructFn()
329 SmallVector<CanQualType,3> Params; in getCppAtomicObjectFunction()
343 SmallVector<CanQualType,1> Params; in getEnumerationMutationFn()
[all …]
H A DCGCXXABI.h314 SmallVectorImpl<CanQualType> &ArgTys) = 0;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h487 CanQualType type;
565 CanQualType resultType,
566 ArrayRef<CanQualType> argTypes,
648 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
702 CanQualType resultType, in Profile()
703 ArrayRef<CanQualType> argTypes) { in Profile()
720 for (ArrayRef<CanQualType>::iterator in Profile()
H A DCodeGenABITypes.h70 CanQualType returnType,
71 ArrayRef<CanQualType> argTypes,
H A DSwiftCallingConv.h169 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
172 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/freebsd-12.1/contrib/llvm/tools/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.cpp205 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1427 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1450 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1457 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1458 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1469 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1524 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
2403 CanQualType PointeeType in isCopyOrMoveConstructor()
2405 CanQualType ClassTy in isCopyOrMoveConstructor()
2444 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
H A DASTContext.cpp1142 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
3600 CanQualType
3602 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
3608 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
4958 CanQualType ASTContext::getSizeType() const { in getSizeType()
4964 CanQualType ASTContext::getSignedSizeType() const { in getSignedSizeType()
4969 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
4974 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
5038 return CanQualType::CreateUnsafe(Result); in getCanonicalParamType()
6653 CanQualType CT = getCanonicalType(T); in getObjCEncodingForTypeImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp223 CanQualType BoolTy = C.getASTContext().BoolTy; in checkPostCall()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h633 CanQualType locTy;
635 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
644 CanQualType, const AnalysisDeclContext*,
1390 CanQualType locTy,
H A DSValBuilder.h241 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

123