commit | e988bc25106a41f1e3cd432a7c265b99b01b9d6a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jan 27 23:55:11 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jan 27 23:55:11 2008 +0000 |
tree | cc0643051982d51f0a25cc1f33003a77ee970c02 | |
parent | 84005b4b6b92e3a716fa4a792bea7d41bbb0102e [diff] [blame] |
Make -o work with -E, patch contributed by Shantonu Sen! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46426 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 02f8321..5eabc72 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp
@@ -1024,7 +1024,7 @@ } case PrintPreprocessedInput: // -E mode. - DoPrintPreprocessedInput(PP); + DoPrintPreprocessedInput(PP, OutputFile); ClearSourceMgr = true; break;