Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DCasting.h109 template<typename To, typename FromTy>
110 struct isa_impl_wrap<To, FromTy, FromTy> {
112 static bool doit(const FromTy &Val) {
113 return isa_impl_cl<To,FromTy>::doit(Val);
164 template<class To, class FromTy>
165 struct cast_retty_wrap<To, FromTy, FromTy> {
167 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
188 template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
190 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
191 typename cast_retty<To, FromTy>::ret_type Res2
[all …]
/external/clang/include/clang/AST/
DDeclBase.h1624 template<class FromTy>
1625 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
1626 static ::clang::DeclContext &doit(const FromTy &Val) {
1627 return *FromTy::castToDeclContext(&Val);
1631 template<class FromTy>
1632 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
1633 static ::clang::DeclContext *doit(const FromTy *Val) {
1634 return FromTy::castToDeclContext(Val);
1638 template<class FromTy>
1639 struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp291 QualType FromTy) { in shouldBeModeledWithNoOp() argument
292 while (Context.UnwrapSimilarPointerTypes(ToTy, FromTy)) { in shouldBeModeledWithNoOp()
295 FromTy = Context.getUnqualifiedArrayType(FromTy, Quals2); in shouldBeModeledWithNoOp()
310 if (ToTy != FromTy) in shouldBeModeledWithNoOp()
/external/clang/include/clang/Sema/
DSemaFixItUtils.h52 typedef bool (*TypeComparisonFuncTy) (const CanQualType FromTy,
DOverload.h354 void *FromTy;
371 QualType getFromType() const { return QualType::getFromOpaquePtr(FromTy); } in getFromType()
378 void setFromType(QualType T) { FromTy = T.getAsOpaquePtr(); } in setFromType()
DSema.h991 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.cpp8106 QualType FromTy = Conv.Bad.getFromType(); in DiagnoseBadConversion() local
8109 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
8126 CanQualType CFromTy = S.Context.getCanonicalType(FromTy); in DiagnoseBadConversion()
8146 << FromTy in DiagnoseBadConversion()
8157 << FromTy in DiagnoseBadConversion()
8168 << FromTy in DiagnoseBadConversion()
8182 << FromTy << (CVR - 1); in DiagnoseBadConversion()
8187 << FromTy << (CVR - 1) << I+1; in DiagnoseBadConversion()
8199 << FromTy << ToTy << (unsigned) isObjectArgument << I+1; in DiagnoseBadConversion()
8207 QualType TempFromTy = FromTy.getNonReferenceType(); in DiagnoseBadConversion()
[all …]
DSemaType.cpp3112 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { in GetTypeForDeclaratorCast() argument
3121 Qualifiers::ObjCLifetime ownership = Context.getInnerObjCOwnership(FromTy); in GetTypeForDeclaratorCast()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h312 QualType FromTy; variable
318 SymExpr(CastSymbolKind), Operand(In), FromTy(From), ToTy(To) { } in SymbolCast()
335 Profile(ID, Operand, FromTy, ToTy); in Profile()
/external/llvm/include/llvm/
DDIBuilder.h124 DIDerivedType createQualifiedType(unsigned Tag, DIType FromTy);
/external/llvm/lib/IR/
DDIBuilder.cpp187 DIDerivedType DIBuilder::createQualifiedType(unsigned Tag, DIType FromTy) { in createQualifiedType() argument
199 FromTy in createQualifiedType()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp851 DIType FromTy = DTy.getTypeDerivedFrom(); in constructTypeDIE() local
852 addType(&Buffer, FromTy); in constructTypeDIE()
/external/clang/lib/AST/
DASTImporter.cpp2647 QualType FromTy = D->getType(); in VisitFunctionDecl() local
2660 FromTy = Importer.getFromContext().getFunctionType( in VisitFunctionDecl()
2670 QualType T = Importer.Import(FromTy); in VisitFunctionDecl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp533 llvm::DIType FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit); in CreateQualifiedType() local
537 llvm::DIType DbgTy = DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()