Francis Visoiu Mistrih | 1c4bab3 | 2019-03-05 20:45:17 +0000 | [diff] [blame] | 1 | //===-libremarks.cpp - LLVM Remarks Shared Library ------------------------===// |
Francis Visoiu Mistrih | 2ae1be7 | 2018-11-05 11:57:44 +0000 | [diff] [blame] | 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Francis Visoiu Mistrih | 2ae1be7 | 2018-11-05 11:57:44 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
Francis Visoiu Mistrih | 1c4bab3 | 2019-03-05 20:45:17 +0000 | [diff] [blame] | 9 | // Provide a library to work with remark diagnostics. |
Francis Visoiu Mistrih | 2ae1be7 | 2018-11-05 11:57:44 +0000 | [diff] [blame] | 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
Francis Visoiu Mistrih | 1c4bab3 | 2019-03-05 20:45:17 +0000 | [diff] [blame] | 13 | #include "llvm-c/Remarks.h" |
Francis Visoiu Mistrih | 2ae1be7 | 2018-11-05 11:57:44 +0000 | [diff] [blame] | 14 | |
Francis Visoiu Mistrih | 1c4bab3 | 2019-03-05 20:45:17 +0000 | [diff] [blame] | 15 | extern uint32_t LLVMRemarkVersion(void) { |
| 16 | return REMARKS_API_VERSION; |
Francis Visoiu Mistrih | 2ae1be7 | 2018-11-05 11:57:44 +0000 | [diff] [blame] | 17 | } |