diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-22 03:59:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-22 03:59:25 +0000 |
commit | c21d4fcb202b613e2ebe95684362b8c9b66d8034 (patch) | |
tree | e5ae3b319099aba0004f43b9810e8e26e2a0aaf8 | |
parent | 953e0d7076cd09a7bebd15d5f738028b45b4b063 (diff) |
Move private header into private directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/LLC/LLCOptions.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/include/llvm/LLC/LLCOptions.h b/include/llvm/LLC/LLCOptions.h deleted file mode 100644 index 56e963a5c7..0000000000 --- a/include/llvm/LLC/LLCOptions.h +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ -*-c++-*- -//**************************************************************************/ -// File: -// LLCOptions.h -// -// Purpose: -// Options for the llc compiler. -// -// History: -// 7/15/01 - Vikram Adve - Created -// -//**************************************************************************/ - -#ifndef LLVM_LLC_LLCOPTIONS_H -#define LLVM_LLC_LLCOPTIONS_H - -//************************** System Include Files **************************/ - -#include <iostream.h> -#include <unistd.h> - - -//*************************** User Include Files ***************************/ - -#include "llvm/Support/ProgramOptions.h" -#include "llvm/Support/ProgramOption.h" - -//************************ Option Name Definitions *************************/ - -const char* const HELP_OPT = "help"; -const char* const DEBUG_OPT = "d"; -const char* const QUIET_OPT = "q"; -const char* const DEBUG_INSTR_SELECT_OPT= "debug_select"; -const char* const OUTFILENAME_OPT = "o"; - - -//--------------------------------------------------------------------------- -// class LLCOptions -//--------------------------------------------------------------------------- - -class LLCOptions : public ProgramOptions { -public: - /*ctor*/ LLCOptions (int _argc, - const char* _argv[], - const char* _envp[]); - /*dtor*/ virtual ~LLCOptions (); - - const string& getInputFileName() const { return inputFileName; } - - const string& getOutputFileName() const { return outputFileName; } - -protected: - - //-------------------------------------------------------------------- - // Initialize for all our compiler options (called by constructors). - //-------------------------------------------------------------------- - void InitializeOptions(); - - //-------------------------------------------------------------------- - // Make sure the parse went ok. - //-------------------------------------------------------------------- - void CheckParse(); - - //-------------------------------------------------------------------- - // Parse arguments after all options are consumed. - // This is called after a successful ParseArgs. - //-------------------------------------------------------------------- - virtual void ParseExtraArgs(); - - //-------------------------------------------------------------------- - // Print message describing which arguments and options are - // required, optional, mutually exclusive, ... - // called in ProgramOptions::Usage() method - //-------------------------------------------------------------------- - virtual void PrintUsage(ostream& stream) const; - -private: - string inputFileName; - string outputFileName; -}; - -//**************************************************************************/ - -#endif |