summaryrefslogtreecommitdiffstats
path: root/clang/Driver/clang.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-27 23:55:11 +0000
committerChris Lattner <sabre@nondot.org>2008-01-27 23:55:11 +0000
commit02bf44436ffbec63d3f989b58e8b433432039442 (patch)
tree7fbb3777e33d04f845a366318d4b4cc6f1b0dedb /clang/Driver/clang.cpp
parent9422fb70fe53a9ce736e96086ff624d17f1264c8 (diff)
downloadbcm5719-llvm-02bf44436ffbec63d3f989b58e8b433432039442.tar.gz
bcm5719-llvm-02bf44436ffbec63d3f989b58e8b433432039442.zip
Make -o work with -E, patch contributed by Shantonu Sen!
llvm-svn: 46426
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 02f8321b689..5eabc727119 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -1024,7 +1024,7 @@ static void ProcessInputFile(Preprocessor &PP, const std::string &InFile,
}
case PrintPreprocessedInput: // -E mode.
- DoPrintPreprocessedInput(PP);
+ DoPrintPreprocessedInput(PP, OutputFile);
ClearSourceMgr = true;
break;
OpenPOWER on IntegriCloud