diff options
author | Gabe Black <gabeblack@google.com> | 2018-01-29 14:38:37 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-01-29 23:47:55 +0000 |
commit | ba7a202ffac695dd2c6c9c7254d34d89dea68eaf (patch) | |
tree | 9733f7cfd228bc70a77a76d3a48841570da81ec6 /src | |
parent | 9d04c02c51550c3654126f5e658bce623ba384d6 (diff) | |
download | gem5-ba7a202ffac695dd2c6c9c7254d34d89dea68eaf.tar.xz |
base: Delete commented out versions of the format_integer function.
If they're needed, they'd be fairly easy to recreate and are also
available in the revision history.
Change-Id: I5cf5e4b1271ce488016464048de69bc643dee4d9
Reviewed-on: https://gem5-review.googlesource.com/7641
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/base/cprintf_formats.hh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/base/cprintf_formats.hh b/src/base/cprintf_formats.hh index 253fe59cf..4c78fdf50 100644 --- a/src/base/cprintf_formats.hh +++ b/src/base/cprintf_formats.hh @@ -312,32 +312,6 @@ format_integer(std::ostream &out, unsigned char data, Format &fmt) inline void format_integer(std::ostream &out, signed char data, Format &fmt) { _format_integer(out, (int)data, fmt); } -#if 0 -inline void -format_integer(std::ostream &out, short data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, unsigned short data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, int data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, unsigned int data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, long data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, unsigned long data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, long long data, Format &fmt) -{ _format_integer(out, data, fmt); } -inline void -format_integer(std::ostream &out, unsigned long long data, Format &fmt) -{ _format_integer(out, data, fmt); } -#endif // // floating point formats |