#ifndef OPTIONS_H
#define OPTIONS_H
#include "llvm/DebugInfo/LogicalView/Core/LVLine.h"
#include "llvm/DebugInfo/LogicalView/Core/LVOptions.h"
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
#include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h"
#include "llvm/DebugInfo/LogicalView/Core/LVType.h"
#include "llvm/Support/CommandLine.h"
namespace llvm {
namespace logicalview {
namespace cmdline {
class OffsetParser final : public llvm::cl::parser<unsigned long long> { … };
OffsetOptionList;
extern llvm::cl::OptionCategory AttributeCategory;
extern llvm::cl::OptionCategory CompareCategory;
extern llvm::cl::OptionCategory OutputCategory;
extern llvm::cl::OptionCategory PrintCategory;
extern llvm::cl::OptionCategory ReportCategory;
extern llvm::cl::OptionCategory SelectCategory;
extern llvm::cl::OptionCategory WarningCategory;
extern llvm::cl::OptionCategory InternalCategory;
extern llvm::cl::list<std::string> InputFilenames;
extern llvm::cl::opt<std::string> OutputFilename;
extern llvm::cl::list<std::string> SelectPatterns;
extern llvm::cl::list<LVElementKind> SelectElements;
extern llvm::cl::list<LVLineKind> SelectLines;
extern llvm::cl::list<LVScopeKind> SelectScopes;
extern llvm::cl::list<LVSymbolKind> SelectSymbols;
extern llvm::cl::list<LVTypeKind> SelectTypes;
extern OffsetOptionList SelectOffsets;
extern llvm::cl::list<LVAttributeKind> AttributeOptions;
extern llvm::cl::list<LVOutputKind> OutputOptions;
extern llvm::cl::list<LVPrintKind> PrintOptions;
extern llvm::cl::list<LVWarningKind> WarningOptions;
extern llvm::cl::list<LVInternalKind> InternalOptions;
extern llvm::cl::list<LVCompareKind> CompareElements;
extern llvm::cl::list<LVReportKind> ReportOptions;
extern LVOptions ReaderOptions;
void propagateOptions();
}
}
}
#endif