summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-11 10:07:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-11 10:07:44 +0000
commit22bdabf05f516df31629584f23626867b57fddb3 (patch)
tree5d16a5d67bd8ccea943757d253759dfb0456e625 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parent531f6c662bfe32a1ac21635937362dcc9b5b5329 (diff)
downloadbcm5719-llvm-22bdabf05f516df31629584f23626867b57fddb3.tar.gz
bcm5719-llvm-22bdabf05f516df31629584f23626867b57fddb3.zip
Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to
clang-cc/Options.cpp llvm-svn: 86828
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r--clang/lib/Frontend/PrintPreprocessedOutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
index b1a19361503..37424057809 100644
--- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -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!");
OpenPOWER on IntegriCloud