diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-07-20 21:16:17 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-07-20 21:16:17 +0000 |
commit | 19886421242f4e3730e2cad1fa452bb4a63a20a2 (patch) | |
tree | 85e59a27438780d654d215fff8a164578e50990a /clang/lib/Driver/Tools.cpp | |
parent | 03400e17fe5149c0f2f7161ba3837954e5196ed1 (diff) | |
download | bcm5719-llvm-19886421242f4e3730e2cad1fa452bb4a63a20a2.tar.gz bcm5719-llvm-19886421242f4e3730e2cad1fa452bb4a63a20a2.zip |
Temporarily revert r135614 while I fix the cmake build.
llvm-svn: 135621
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index c30e55e6a84..c54ced2d1d0 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -1376,7 +1376,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.AddAllArgs(CmdArgs, options::OPT_v); Args.AddLastArg(CmdArgs, options::OPT_H); - if (D.CCPrintHeaders && !D.CCGenDiagnostics) { + if (D.CCPrintHeaders) { CmdArgs.push_back("-header-include-file"); CmdArgs.push_back(D.CCPrintHeadersFilename ? D.CCPrintHeadersFilename : "-"); @@ -1384,7 +1384,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, Args.AddLastArg(CmdArgs, options::OPT_P); Args.AddLastArg(CmdArgs, options::OPT_print_ivar_layout); - if (D.CCLogDiagnostics && !D.CCGenDiagnostics) { + if (D.CCLogDiagnostics) { CmdArgs.push_back("-diagnostic-log-file"); CmdArgs.push_back(D.CCLogDiagnosticsFilename ? D.CCLogDiagnosticsFilename : "-"); |