Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
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) {
DASTContext.h893 CanQualType VoidTy;
894 CanQualType BoolTy;
895 CanQualType CharTy;
896 CanQualType WCharTy; // [C++ 3.9.1p5].
897 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
898 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
899 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
900 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
901 CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;
902 CanQualType UnsignedCharTy, UnsignedShortTy, UnsignedIntTy, UnsignedLongTy;
[all …]
DCanonicalType.h198 typedef CanQual<Type> CanQualType; typedef
200 inline CanQualType Type::getCanonicalTypeUnqualified() const { in getCanonicalTypeUnqualified()
201 return CanQualType::CreateUnsafe(getCanonicalTypeInternal()); in getCanonicalTypeUnqualified()
205 CanQualType T) {
215 CanQualType Accessor() const { \
216 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
389 CanQualType,
391 CanProxy<Type>, CanQualType> {
396 CanQualType operator*() const { return CanQualType::CreateUnsafe(*this->I); }
490 CanQualType getParamType(unsigned i) const {
[all …]
DDeclarationName.h40 typedef CanQual<Type> CanQualType; typedef
365 DeclarationName getCXXConstructorName(CanQualType Ty);
369 DeclarationName getCXXDestructorName(CanQualType Ty);
373 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
379 CanQualType Ty);
DCXXInheritance.h195 bool isAmbiguous(CanQualType BaseType);
/external/clang/include/clang/Sema/
DSemaFixItUtils.h35 static bool compareTypesSimple(CanQualType From,
36 CanQualType To,
52 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
53 const CanQualType ToTy,
/external/clang/lib/Sema/
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()
DSemaAccess.cpp350 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
425 CanQualType Friend) { in MatchesFriend()
DSemaExceptionSpec.cpp563 llvm::SmallPtrSet<CanQualType, 8> OldTypes, NewTypes; in CheckEquivalentExceptionSpec()
568 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec()
DSemaCast.cpp174 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType,
175 CanQualType DestType, bool CStyle,
1261 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, in TryStaticDowncast()
/external/clang/lib/CodeGen/
DCodeGenTypes.h50 typedef CanQual<Type> CanQualType; typedef
279 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
280 ArrayRef<CanQualType> argTypes);
324 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType,
327 ArrayRef<CanQualType> argTypes,
DCodeGenABITypes.cpp59 CanQualType returnType, in arrangeFreeFunctionCall()
60 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
DCGCall.cpp71 static CanQualType GetThisType(ASTContext &Context, const CXXRecordDecl *RD) { in GetThisType()
73 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in GetThisType()
86 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
105 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
141 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
149 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
162 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
215 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
261 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
293 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration()
[all …]
DSwiftCallingConv.cpp766 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
813 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
818 CanQualType type) { in classifyArgumentType()
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 …]
DCGCXXABI.h297 SmallVectorImpl<CanQualType> &ArgTys) = 0;
DCGVTables.cpp74 static bool similar(const ABIArgInfo &infoL, CanQualType typeL, in similar()
75 const ABIArgInfo &infoR, CanQualType typeR) { in similar()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h442 CanQualType type;
514 CanQualType resultType,
515 ArrayRef<CanQualType> argTypes,
592 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
644 CanQualType resultType, in Profile()
645 ArrayRef<CanQualType> argTypes) { in Profile()
660 for (ArrayRef<CanQualType>::iterator in Profile()
DCodeGenABITypes.h68 CanQualType returnType,
69 ArrayRef<CanQualType> argTypes,
DSwiftCallingConv.h155 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
158 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/external/clang/lib/AST/
DDeclarationName.cpp385 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
390 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
396 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { in getCXXConversionFunctionName()
402 CanQualType Ty) { in getCXXSpecialName()
DDeclCXX.cpp157 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1099 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1122 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1129 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1130 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1141 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1196 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
1899 CanQualType PointeeType in isCopyOrMoveConstructor()
1901 CanQualType ClassTy in isCopyOrMoveConstructor()
1940 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
DASTContext.cpp976 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { in InitBuiltinType()
978 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
3027 CanQualType
3029 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
3035 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
3080 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionType()
4119 CanQualType ASTContext::getSizeType() const { in getSizeType()
4124 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
4129 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
4171 CanQualType ASTContext::getCanonicalParamType(QualType T) const { in getCanonicalParamType()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h591 CanQualType locTy;
593 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
613 CanQualType, const AnalysisDeclContext*,
1262 CanQualType locTy,
DSValBuilder.h207 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,

12