Goose  Diff

Differences From Artifact [149b1e1636]:

  • File bs/ir/tostring.h — part of check-in [9988bc3dc8] at 2019-07-31 00:07:15 on branch trunk — Compile time integers are now represented with infinite precision by using llvm::APSInt. (user: achavasse size: 740)

To Artifact [c5777f40c5]:

  • File bs/ir/tostring.h — part of check-in [2bee844d3c] at 2019-08-05 17:46:41 on branch trunk — Implemented a wrapper around llvm::APSInt for compile time integers to manage mixing operations on integers of different bitsizes, and to automatically extend them as needed. (user: achavasse size: 740)

11
12
13
14
15
16
17
18

19
20
21
22
23
11
12
13
14
15
16
17

18
19
20
21
22
23







-
+





    extern ostream& ToString( ostream& out, const string& x );
    extern ostream& ToString( ostream& out, const StringId& x );
    extern ostream& ToString( ostream& out, const Delimiter& x );
    extern ostream& ToString( ostream& out, const ptr< void >& x );
    extern ostream& ToString( ostream& out, const void* x );
    extern ostream& ToString( ostream& out, const ptr< Vector >& v );

    extern ostream& ToString( ostream& out, const APSInt& t );
    extern ostream& ToString( ostream& out, const BigInt& t );

    extern ostream& ToString( ostream& out, const Term& t );
}

#endif