| 1 | //===- OptEmitter.h - Helper for emitting options ---------------*- C++ -*-===// |
| 2 | // |
| 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 |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H |
| 10 | #define LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H |
| 11 | |
| 12 | namespace llvm { |
| 13 | class Record; |
| 14 | /// Return true of Option record \p A is ordered before \p B. |
| 15 | bool IsOptionRecordsLess(const Record *A, const Record *B); |
| 16 | } // namespace llvm |
| 17 | |
| 18 | #endif // LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H |
| 19 | |