Moved "VerifyDiagnostics" variable declaration to right below ProgAction
declaration. This is because this option is logically tightly connected to the actions defined in ProgAction. llvm-svn: 42364
This commit is contained in:
parent
cbd2af8a0a
commit
a054c5bedd
|
@ -109,6 +109,10 @@ ProgAction(llvm::cl::desc("Choose output type:"), llvm::cl::ZeroOrMore,
|
||||||
"Build ASTs then convert to LLVM, emit .ll file"),
|
"Build ASTs then convert to LLVM, emit .ll file"),
|
||||||
clEnumValEnd));
|
clEnumValEnd));
|
||||||
|
|
||||||
|
static llvm::cl::opt<bool>
|
||||||
|
VerifyDiagnostics("verify",
|
||||||
|
llvm::cl::desc("Verify emitted diagnostics and warnings."));
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Language Options
|
// Language Options
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@ -346,10 +350,6 @@ static llvm::cl::opt<bool>
|
||||||
WarnUnusedMacros("Wunused_macros",
|
WarnUnusedMacros("Wunused_macros",
|
||||||
llvm::cl::desc("Warn for unused macros in the main translation unit"));
|
llvm::cl::desc("Warn for unused macros in the main translation unit"));
|
||||||
|
|
||||||
static llvm::cl::opt<bool>
|
|
||||||
VerifyDiagnostics("verify",
|
|
||||||
llvm::cl::desc("Verify emitted diagnostics and warnings."));
|
|
||||||
|
|
||||||
/// InitializeDiagnostics - Initialize the diagnostic object, based on the
|
/// InitializeDiagnostics - Initialize the diagnostic object, based on the
|
||||||
/// current command line option settings.
|
/// current command line option settings.
|
||||||
static void InitializeDiagnostics(Diagnostic &Diags) {
|
static void InitializeDiagnostics(Diagnostic &Diags) {
|
||||||
|
|
Loading…
Reference in New Issue