Goose  Diff

Differences From Artifact [940b133e42]:

  • File bs/builtins/types/texpr/tdecl.cpp — part of check-in [06665441a7] at 2019-02-16 13:19:19 on branch trunk — Templates: added TNamedDecl type. (user: achavasse size: 951)

To Artifact [aa76ad6e76]:

  • File bs/builtins/types/template/tdecl.cpp — part of check-in [054862b9f5] at 2019-02-16 16:48:49 on branch trunk — Some reorganization of template types. (user: achavasse size: 928)
  • File bs/builtins/types/texpr/tdecl.cpp — part of check-in [aec44da323] at 2019-02-14 23:11:46 on branch trunk — Templates: added TFunc type. (user: achavasse size: 928)

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    }
}

namespace empathy::ir
{
    const Term& Bridge< TDecl >::Type()
    {
        static auto type = ValueToIRExpr( Value( TSID( type ), TVEC( TSID( texpr ), TSID( tdecl ) ) ) );
        return type;
    }

    Value Bridge< TDecl >::ToValue( const TDecl& td )
    {
        return Value( Type(), TVEC( td.type(), td.value() ) );
    }







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    }
}

namespace empathy::ir
{
    const Term& Bridge< TDecl >::Type()
    {
        static auto type = ValueToIRExpr( Value( TSID( type ), TSID( tdecl ) ) );
        return type;
    }

    Value Bridge< TDecl >::ToValue( const TDecl& td )
    {
        return Value( Type(), TVEC( td.type(), td.value() ) );
    }