//===- OptEmitter.cpp - Helper for emitting options -------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "OptEmitter.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/OptionStrCmp.h" #include "llvm/TableGen/Error.h" #include "llvm/TableGen/Record.h" // Returns true if A is ordered before B. bool llvm::IsOptionRecordsLess(const Record *A, const Record *B) { … }