summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/FreeBSD/TimeValue.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-25 05:03:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-25 05:03:54 +0000
commit1cc1994edf507213a55236e47dbff5c4cc9f6e98 (patch)
tree80fdaf4ff822aaa7cd3e9912591bcdacfb7c8e9c /llvm/lib/System/FreeBSD/TimeValue.cpp
parent8b2f9a298db8f86fe731986a936e2d49f63dcc43 (diff)
downloadbcm5719-llvm-1cc1994edf507213a55236e47dbff5c4cc9f6e98.tar.gz
bcm5719-llvm-1cc1994edf507213a55236e47dbff5c4cc9f6e98.zip
Added stub implementations of TimeValue concept for remaining platforms.
llvm-svn: 16513
Diffstat (limited to 'llvm/lib/System/FreeBSD/TimeValue.cpp')
-rw-r--r--llvm/lib/System/FreeBSD/TimeValue.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/llvm/lib/System/FreeBSD/TimeValue.cpp b/llvm/lib/System/FreeBSD/TimeValue.cpp
new file mode 100644
index 00000000000..2d77f10b853
--- /dev/null
+++ b/llvm/lib/System/FreeBSD/TimeValue.cpp
@@ -0,0 +1,29 @@
+//===- FreeBSD/TimeValue.cpp - FreeBSD TimeValue Implementation -*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Reid Spencer and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file provides the FreeBSD implementation of the TimeValue class.
+//
+//===----------------------------------------------------------------------===//
+
+// Include the generic Unix implementation
+#include "../Unix/Unix.h"
+
+namespace llvm {
+using namespace sys;
+
+//===----------------------------------------------------------------------===//
+//=== WARNING: Implementation here must contain only FreeBSD specific code
+//=== and must not be generic UNIX code (see ../Unix/TimeValue.cpp)
+//===----------------------------------------------------------------------===//
+
+// FIXME: Need TimeValue::now()
+
+// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
+
+}
OpenPOWER on IntegriCloud