Home
last modified time | relevance | path

Searched refs:FromTy (Results 1 – 10 of 10) 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.h1411 template<class FromTy>
1412 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
1413 static ::clang::DeclContext &doit(const FromTy &Val) {
1414 return *FromTy::castToDeclContext(&Val);
1418 template<class FromTy>
1419 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
1420 static ::clang::DeclContext *doit(const FromTy *Val) {
1421 return FromTy::castToDeclContext(Val);
1425 template<class FromTy>
1426 struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
[all …]
/external/clang/include/clang/Sema/
DOverload.h324 void *FromTy;
341 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType()
348 void setFromType(QualType T) { FromTy = T.getAsOpaquePtr(); } in setFromType()
DSema.h790 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
/external/llvm/include/llvm/Analysis/
DDIBuilder.h100 DIType createQualifiedType(unsigned Tag, DIType FromTy);
/external/clang/lib/Sema/
DSemaOverload.cpp6835 QualType FromTy = Conv.Bad.getFromType(); in DiagnoseBadConversion() local
6838 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
6855 CanQualType CFromTy = S.Context.getCanonicalType(FromTy); in DiagnoseBadConversion()
6881 << FromTy in DiagnoseBadConversion()
6892 << FromTy in DiagnoseBadConversion()
6903 << FromTy in DiagnoseBadConversion()
6917 << FromTy << (CVR - 1); in DiagnoseBadConversion()
6922 << FromTy << (CVR - 1) << I+1; in DiagnoseBadConversion()
6931 QualType TempFromTy = FromTy.getNonReferenceType(); in DiagnoseBadConversion()
6938 << FromTy << ToTy << (unsigned) isObjectArgument << I+1; in DiagnoseBadConversion()
[all …]
DSemaType.cpp2608 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { in GetTypeForDeclaratorCast() argument
2617 Qualifiers::ObjCLifetime ownership = Context.getInnerObjCOwnership(FromTy); in GetTypeForDeclaratorCast()
/external/llvm/lib/Analysis/
DDIBuilder.cpp107 DIType DIBuilder::createQualifiedType(unsigned Tag, DIType FromTy) { in createQualifiedType() argument
119 FromTy in createQualifiedType()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp669 DIType FromTy = DTy.getTypeDerivedFrom(); in constructTypeDIE() local
670 addType(&Buffer, FromTy); in constructTypeDIE()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp412 llvm::DIType FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit); in CreateQualifiedType() local
416 llvm::DIType DbgTy = DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()