Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: src/IceClFlags.cpp

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===// 1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file defines commandline flags parsing. 10 // This file defines commandline flags parsing.
11 // This currently relies on llvm::cl to parse. In the future, the minimal 11 // This currently relies on llvm::cl to parse. In the future, the minimal
12 // build can have a simpler parser. 12 // build can have a simpler parser.
13 // 13 //
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 15
16 #include "IceClFlags.h"
17
18 #include "IceClFlagsExtra.h"
16 #include "llvm/Support/CommandLine.h" 19 #include "llvm/Support/CommandLine.h"
17 20
18 #include "IceClFlags.h"
19 #include "IceClFlagsExtra.h"
20
21 namespace cl = llvm::cl; 21 namespace cl = llvm::cl;
22 22
23 // Options which are captured in Ice::ClFlags and propagated. 23 // Options which are captured in Ice::ClFlags and propagated.
24 24
25 namespace { 25 namespace {
26 26
27 cl::opt<bool> AllowErrorRecovery( 27 cl::opt<bool> AllowErrorRecovery(
28 "allow-pnacl-reader-error-recovery", 28 "allow-pnacl-reader-error-recovery",
29 cl::desc("Allow error recovery when reading PNaCl bitcode."), 29 cl::desc("Allow error recovery when reading PNaCl bitcode."),
30 cl::init(false)); 30 cl::init(false));
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 385 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
386 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 386 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
387 OutFlagsExtra.setAppName(AppName); 387 OutFlagsExtra.setAppName(AppName);
388 OutFlagsExtra.setInputFileFormat(InputFileFormat); 388 OutFlagsExtra.setInputFileFormat(InputFileFormat);
389 OutFlagsExtra.setIRFilename(IRFilename); 389 OutFlagsExtra.setIRFilename(IRFilename);
390 OutFlagsExtra.setLogFilename(LogFilename); 390 OutFlagsExtra.setLogFilename(LogFilename);
391 OutFlagsExtra.setOutputFilename(OutputFilename); 391 OutFlagsExtra.setOutputFilename(OutputFilename);
392 } 392 }
393 393
394 } // end of namespace Ice 394 } // end of namespace Ice
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698