1 /*==-- clang-c/BuildSysetm.h - Utilities for use by build systems -*- C -*-===*\ 2 |* *| 3 |* The LLVM Compiler Infrastructure *| 4 |* *| 5 |* This file is distributed under the University of Illinois Open Source *| 6 |* License. See LICENSE.TXT for details. *| 7 |* *| 8 |*===----------------------------------------------------------------------===*| 9 |* *| 10 |* This header provides various utilities for use by build systems. *| 11 |* *| 12 \*===----------------------------------------------------------------------===*/ 13 14 #ifndef CLANG_BUILD_SYSTEM_H 15 #define CLANG_BUILD_SYSTEM_H 16 17 #include "clang-c/Platform.h" 18 #include "clang-c/CXString.h" 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 /** 25 * \defgroup BUILD_SYSTEM Build system utilities 26 * @{ 27 */ 28 29 /** 30 * \brief Return the timestamp for use with Clang's 31 * \c -fbuild-session-timestamp= option. 32 */ 33 CINDEX_LINKAGE unsigned long long clang_getBuildSessionTimestamp(void); 34 35 /** 36 * @} 37 */ 38 39 #ifdef __cplusplus 40 } 41 #endif 42 43 #endif // CLANG_BUILD_SYSTEM_H 44 45