'svn add' files I forgot for r201224 (Add an option to allow Clang verify

source files for a module only once during)

llvm-svn: 201225
This commit is contained in:
Dmitri Gribenko
2014-02-12 10:40:07 +00:00
parent f430da4de6
commit fdd4f30f0e
3 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//===- BuildSystem.cpp - Utilities for use by build systems ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements various utilities for use by build systems.
//
//===----------------------------------------------------------------------===//
#include "clang-c/BuildSystem.h"
#include "llvm/Support/TimeValue.h"
extern "C" {
unsigned long long clang_getBuildSessionTimestamp(void) {
return llvm::sys::TimeValue::now().toEpochTime();
}
} // extern "C"