aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index c6ace84ea1..1071659016 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1244,7 +1244,7 @@ static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF,
break;
case RewriteMacros:
- RewriteMacrosInInput(PP, OutputFile);
+ RewriteMacrosInInput(PP, InFile, OutputFile);
ClearSourceMgr = true;
break;
}