Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to

clang-cc/Options.cpp

llvm-svn: 86828
This commit is contained in:
Daniel Dunbar
2009-11-11 10:07:44 +00:00
parent 531f6c662b
commit 22bdabf05f
6 changed files with 60 additions and 35 deletions

View File

@@ -468,7 +468,7 @@ static void DoPrintMacros(Preprocessor &PP, llvm::raw_ostream *OS) {
/// DoPrintPreprocessedInput - This implements -E mode.
///
void clang::DoPrintPreprocessedInput(Preprocessor &PP, llvm::raw_ostream *OS,
PreprocessorOutputOptions &Opts) {
const PreprocessorOutputOptions &Opts) {
// Show macros with no output is handled specially.
if (!Opts.ShowCPP) {
assert(Opts.ShowMacros && "Not yet implemented!");