Home
last modified time | relevance | path

Searched refs:CanQualType (Results 1 – 25 of 48) 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.h879 CanQualType VoidTy;
880 CanQualType BoolTy;
881 CanQualType CharTy;
882 CanQualType WCharTy; // [C++ 3.9.1p5].
883 CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
884 CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
885 CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
886 CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
887 CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;
888 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); }
487 CanQualType getParamType(unsigned i) const {
[all …]
DDeclarationName.h39 typedef CanQual<Type> CanQualType; typedef
362 DeclarationName getCXXConstructorName(CanQualType Ty);
366 DeclarationName getCXXDestructorName(CanQualType Ty);
370 DeclarationName getCXXConversionFunctionName(CanQualType Ty);
376 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,
DCodeCompleteConsumer.h121 SimplifiedTypeClass getSimplifiedTypeClass(CanQualType T);
/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.cpp349 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
413 CanQualType FriendTy in MatchesFriend()
418 CanQualType ContextTy in MatchesFriend()
430 CanQualType Friend) { in MatchesFriend()
DSemaExceptionSpec.cpp557 llvm::SmallPtrSet<CanQualType, 8> OldTypes, NewTypes; in CheckEquivalentExceptionSpec()
562 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec()
DSemaCast.cpp173 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType,
174 CanQualType DestType, bool CStyle,
1260 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, in TryStaticDowncast()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h338 CanQualType type;
391 CanQualType resultType,
392 ArrayRef<CanQualType> argTypes,
458 CanQualType getReturnType() const { return getArgsBuffer()[0].type; } in getReturnType()
494 CanQualType resultType, in Profile()
495 ArrayRef<CanQualType> argTypes) { in Profile()
505 for (ArrayRef<CanQualType>::iterator in Profile()
DCodeGenABITypes.h71 const CGFunctionInfo &arrangeFreeFunctionCall(CanQualType returnType,
72 ArrayRef<CanQualType> argTypes,
/external/clang/lib/CodeGen/
DCodeGenABITypes.cpp65 CanQualType returnType, ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall()
DCodeGenTypes.h51 typedef CanQual<Type> CanQualType; typedef
288 const CGFunctionInfo &arrangeLLVMFunctionInfo(CanQualType returnType,
291 ArrayRef<CanQualType> argTypes,
DCGCall.cpp65 static CanQualType GetThisType(ASTContext &Context, const CXXRecordDecl *RD) { in GetThisType()
67 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in GetThisType()
80 static CanQualType GetReturnType(QualType RetTy) { in GetReturnType()
99 SmallVectorImpl<CanQualType> &prefix, in appendParameterTypes()
125 SmallVectorImpl<CanQualType> &prefix, in arrangeLLVMFunctionInfo()
131 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo()
142 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType()
189 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType()
226 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration()
248 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration()
[all …]
DCGVTables.cpp74 static bool similar(const ABIArgInfo &infoL, CanQualType typeL, in similar()
75 const ABIArgInfo &infoR, CanQualType typeR) { in similar()
DCGCXXABI.h287 SmallVectorImpl<CanQualType> &ArgTys) = 0;
DCGObjCMac.cpp239 SmallVector<CanQualType,4> Params; in getGetPropertyFn()
240 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getGetPropertyFn()
241 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getGetPropertyFn()
257 SmallVector<CanQualType,6> Params; in getSetPropertyFn()
258 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getSetPropertyFn()
259 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getSetPropertyFn()
285 SmallVector<CanQualType,4> Params; in getOptimizedSetPropertyFn()
286 CanQualType IdType = Ctx.getCanonicalParamType(Ctx.getObjCIdType()); in getOptimizedSetPropertyFn()
287 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getOptimizedSetPropertyFn()
313 SmallVector<CanQualType,5> Params; in getCopyStructFn()
[all …]
/external/clang/lib/AST/
DDeclarationName.cpp364 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
369 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
375 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { in getCXXConversionFunctionName()
381 CanQualType Ty) { in getCXXSpecialName()
DDeclCXX.cpp156 llvm::SmallPtrSet<CanQualType, 8> SeenVBaseTypes; in setBases()
1043 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType()
1066 const llvm::SmallPtrSet<CanQualType, 8> &ParentHiddenTypes, in CollectVisibleConversions() argument
1073 const llvm::SmallPtrSet<CanQualType, 8> *HiddenTypes = &ParentHiddenTypes; in CollectVisibleConversions()
1074 llvm::SmallPtrSet<CanQualType, 8> HiddenTypesBuffer; in CollectVisibleConversions()
1085 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions()
1140 llvm::SmallPtrSet<CanQualType, 8> HiddenTypes; in CollectVisibleConversions()
1818 CanQualType PointeeType in isCopyOrMoveConstructor()
1820 CanQualType ClassTy in isCopyOrMoveConstructor()
1859 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
[all …]
DASTContext.cpp979 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { in InitBuiltinType()
981 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType()
3019 CanQualType
3021 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
3027 return CanQualType::CreateUnsafe( in getCanonicalFunctionResultType()
3072 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionType()
4065 CanQualType ASTContext::getSizeType() const { in getSizeType()
4070 CanQualType ASTContext::getIntMaxType() const { in getIntMaxType()
4075 CanQualType ASTContext::getUIntMaxType() const { in getUIntMaxType()
4117 CanQualType ASTContext::getCanonicalParamType(QualType T) const { in getCanonicalParamType()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h595 CanQualType locTy;
597 BlockTextRegion(const BlockDecl *bd, CanQualType lTy, in BlockTextRegion()
617 CanQualType, const AnalysisDeclContext*,
1266 CanQualType locTy,
DSValBuilder.h202 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h248 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} in ArgType()

12