1 //===--- BuiltinOptions.h - The LLVM Compiler Driver ------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Declarations of all global command-line option variables.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
15 #define LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
17 #include "llvm/Support/CommandLine.h"
23 namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; }
25 extern llvm::cl::list<std::string> InputFilenames;
26 extern llvm::cl::opt<std::string> OutputFilename;
27 extern llvm::cl::opt<std::string> TempDirname;
28 extern llvm::cl::list<std::string> Languages;
29 extern llvm::cl::opt<bool> DryRun;
30 extern llvm::cl::opt<bool> Time;
31 extern llvm::cl::opt<bool> VerboseMode;
32 extern llvm::cl::opt<bool> CheckGraph;
33 extern llvm::cl::opt<bool> ViewGraph;
34 extern llvm::cl::opt<bool> WriteGraph;
35 extern llvm::cl::opt<SaveTempsEnum::Values> SaveTemps;
37 } // End namespace llvmc.
39 #endif // LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H