Per code review:

* get rid of (void) construct in function declarations
* make toString a const member
* add a default implementation of toString for Win32


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-11-16 06:22:17 +00:00
parent b608a81a18
commit 8bf7fba10b
5 changed files with 21 additions and 13 deletions

View File

@ -25,7 +25,7 @@ namespace llvm {
using namespace sys;
std::string TimeValue::toString() {
std::string TimeValue::toString() const {
char buffer[32];
time_t ourTime = time_t(this->toEpochTime());

View File

@ -25,7 +25,7 @@ namespace llvm {
using namespace sys;
std::string TimeValue::toString() {
std::string TimeValue::toString() const {
char buffer[32];
time_t ourTime = time_t(this->toEpochTime());