[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / llvm / utils / TableGen / Common / OptEmitter.h
blobf7ffa0bcc4a975ed3f7e1033915b87226966f6aa
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H
10 #define LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H
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
18 #endif // LLVM_UTILS_TABLEGEN_COMMON_OPTEMITTER_H