From 1cc1994edf507213a55236e47dbff5c4cc9f6e98 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 25 Sep 2004 05:03:54 +0000 Subject: Added stub implementations of TimeValue concept for remaining platforms. llvm-svn: 16513 --- llvm/lib/System/FreeBSD/TimeValue.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 llvm/lib/System/FreeBSD/TimeValue.cpp (limited to 'llvm/lib/System/FreeBSD/TimeValue.cpp') 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 + +} -- cgit v1.2.3