Home
last modified time | relevance | path

Searched refs:FromTy (Results 1 – 13 of 13) sorted by relevance

/external/llvm/include/llvm/Support/
DCasting.h95 template<typename To, typename FromTy>
96 struct isa_impl_wrap<To, FromTy, FromTy> {
98 static bool doit(const FromTy &Val) {
99 return isa_impl_cl<To,FromTy>::doit(Val);
150 template<class To, class FromTy>
151 struct cast_retty_wrap<To, FromTy, FromTy> {
153 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
174 template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
176 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
177 typename cast_retty<To, FromTy>::ret_type Res2
[all …]
/external/clang/include/clang/AST/
DDeclBase.h1625 template<class FromTy>
1626 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
1627 static ::clang::DeclContext &doit(const FromTy &Val) {
1628 return *FromTy::castToDeclContext(&Val);
1632 template<class FromTy>
1633 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
1634 static ::clang::DeclContext *doit(const FromTy *Val) {
1635 return FromTy::castToDeclContext(Val);
1639 template<class FromTy>
1640 struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
[all …]
/external/clang/include/clang/Sema/
DSemaFixItUtils.h52 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
DOverload.h353 void *FromTy;
370 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType()
377 void setFromType(QualType T) { FromTy = T.getAsOpaquePtr(); } in setFromType()
DSema.h882 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
/external/clang/lib/Sema/
DSemaFixItUtils.cpp52 const QualType FromTy, in tryToFixConversion() argument
58 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion()
DSemaOverload.cpp8008 QualType FromTy = Conv.Bad.getFromType(); in DiagnoseBadConversion() local
8011 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
8028 CanQualType CFromTy = S.Context.getCanonicalType(FromTy); in DiagnoseBadConversion()
8048 << FromTy in DiagnoseBadConversion()
8059 << FromTy in DiagnoseBadConversion()
8070 << FromTy in DiagnoseBadConversion()
8084 << FromTy << (CVR - 1); in DiagnoseBadConversion()
8089 << FromTy << (CVR - 1) << I+1; in DiagnoseBadConversion()
8101 << FromTy << ToTy << (unsigned) isObjectArgument << I+1; in DiagnoseBadConversion()
8109 QualType TempFromTy = FromTy.getNonReferenceType(); in DiagnoseBadConversion()
[all …]
DSemaType.cpp2942 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { in GetTypeForDeclaratorCast() argument
2951 Qualifiers::ObjCLifetime ownership = Context.getInnerObjCOwnership(FromTy); in GetTypeForDeclaratorCast()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h315 QualType FromTy; variable
321 SymExpr(CastSymbolKind), Operand(In), FromTy(From), ToTy(To) { } in SymbolCast()
338 Profile(ID, Operand, FromTy, ToTy); in Profile()
/external/llvm/include/llvm/
DDIBuilder.h118 DIType createQualifiedType(unsigned Tag, DIType FromTy);
/external/llvm/lib/VMCore/
DDIBuilder.cpp196 DIType DIBuilder::createQualifiedType(unsigned Tag, DIType FromTy) { in createQualifiedType() argument
208 FromTy in createQualifiedType()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp731 DIType FromTy = DTy.getTypeDerivedFrom(); in constructTypeDIE() local
732 addType(&Buffer, FromTy); in constructTypeDIE()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp489 llvm::DIType FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit); in CreateQualifiedType() local
493 llvm::DIType DbgTy = DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()