Files
revng-revng/include/revng/Support/CommandLine.h
T
Alessandro Di Federico cc02713f6d Abandon argparse in favor of LLVM's CommandLine
This commit dismisses the `argparse` library (the only non-runtime C
component of rev.ng) in favor of LLVM's CommandLine library, which
offers several benefits. Among others, now command line arguments can be
easily specified as a global variable, decentralizing their management
and avoiding the long list of arguments in the constructor of singleton
objects such as `CodeGenerator`.
2018-10-03 23:11:13 +02:00

17 lines
321 B
C

#ifndef COMMANDLINE_H
#define COMMANDLINE_H
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// LLVM includes
#include "llvm/Support/CommandLine.h"
extern llvm::cl::OptionCategory MainCategory;
// Popular option
extern llvm::cl::opt<bool> UseDebugSymbols;
#endif // COMMANDLINE_H