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.h1606 template<class FromTy>
1607 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
1608 static ::clang::DeclContext &doit(const FromTy &Val) {
1609 return *FromTy::castToDeclContext(&Val);
1613 template<class FromTy>
1614 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
1615 static ::clang::DeclContext *doit(const FromTy *Val) {
1616 return FromTy::castToDeclContext(Val);
1620 template<class FromTy>
1621 struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
[all …]
/external/clang/lib/Sema/
DSemaFixItUtils.cpp51 const QualType FromTy, in tryToFixConversion() argument
57 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion()
DSemaOverload.cpp7902 QualType FromTy = Conv.Bad.getFromType(); in DiagnoseBadConversion() local
7905 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
7922 CanQualType CFromTy = S.Context.getCanonicalType(FromTy); in DiagnoseBadConversion()
7942 << FromTy in DiagnoseBadConversion()
7953 << FromTy in DiagnoseBadConversion()
7964 << FromTy in DiagnoseBadConversion()
7978 << FromTy << (CVR - 1); in DiagnoseBadConversion()
7983 << FromTy << (CVR - 1) << I+1; in DiagnoseBadConversion()
7995 << FromTy << ToTy << (unsigned) isObjectArgument << I+1; in DiagnoseBadConversion()
8003 QualType TempFromTy = FromTy.getNonReferenceType(); in DiagnoseBadConversion()
[all …]
DSemaType.cpp2779 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { in GetTypeForDeclaratorCast() argument
2788 Qualifiers::ObjCLifetime ownership = Context.getInnerObjCOwnership(FromTy); in GetTypeForDeclaratorCast()
/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.h913 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h313 QualType FromTy; variable
319 SymExpr(CastSymbolKind), Operand(In), FromTy(From), ToTy(To) { } in SymbolCast()
336 Profile(ID, Operand, FromTy, ToTy); in Profile()
/external/llvm/include/llvm/Analysis/
DDIBuilder.h118 DIType createQualifiedType(unsigned Tag, DIType FromTy);
/external/llvm/lib/Analysis/
DDIBuilder.cpp196 DIType DIBuilder::createQualifiedType(unsigned Tag, DIType FromTy) { in createQualifiedType() argument
208 FromTy in createQualifiedType()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp737 DIType FromTy = DTy.getTypeDerivedFrom(); in constructTypeDIE() local
738 addType(&Buffer, FromTy); in constructTypeDIE()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp472 llvm::DIType FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit); in CreateQualifiedType() local
476 llvm::DIType DbgTy = DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()