[llvm-commits] CVS: llvm/lib/System/Win32/TimeValue.cpp

Reid Spencer reid at x10sys.com
Mon Nov 15 22:22:28 PST 2004



Changes in directory llvm/lib/System/Win32:

TimeValue.cpp updated: 1.3 -> 1.4
---
Log message:

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


---
Diffs of the changes:  (+4 -0)

Index: llvm/lib/System/Win32/TimeValue.cpp
diff -u llvm/lib/System/Win32/TimeValue.cpp:1.3 llvm/lib/System/Win32/TimeValue.cpp:1.4
--- llvm/lib/System/Win32/TimeValue.cpp:1.3	Sun Nov 14 22:47:22 2004
+++ llvm/lib/System/Win32/TimeValue.cpp	Tue Nov 16 00:22:17 2004
@@ -30,6 +30,10 @@
     static_cast<TimeValue::NanoSecondsType>( (ft % 10000000) * 100) );
 }
 
+std::string TimeValue::toString() const {
+  return "Don't know how to conver time on Win32";
+}
+
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
 
 }






More information about the llvm-commits mailing list