blob: fe44c30a7ad584b3c79e3a8b269b51d551ff1432 [file] [log] [blame]
Mikhail Glushenkovfe4d0552009-06-25 18:20:10 +00001//===--- BuiltinOptions.h - The LLVM Compiler Driver ------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open
6// Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Declarations of all global command-line option variables.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
15#define LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
16
17#include "llvm/Support/CommandLine.h"
18
19#include <string>
20
21namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; }
22
23extern llvm::cl::list<std::string> InputFilenames;
24extern llvm::cl::opt<std::string> OutputFilename;
Sanjiv Gupta6de9ddd2009-07-09 08:23:38 +000025extern llvm::cl::opt<std::string> TempDirname;
Mikhail Glushenkovfe4d0552009-06-25 18:20:10 +000026extern llvm::cl::list<std::string> Languages;
27extern llvm::cl::opt<bool> DryRun;
28extern llvm::cl::opt<bool> VerboseMode;
29extern llvm::cl::opt<bool> CheckGraph;
30extern llvm::cl::opt<bool> WriteGraph;
31extern llvm::cl::opt<bool> ViewGraph;
32extern llvm::cl::opt<SaveTempsEnum::Values> SaveTemps;
33
34#endif // LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H