diff options
Diffstat (limited to 'clang/Driver/clang.cpp')
| -rw-r--r-- | clang/Driver/clang.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index c009e06860c..f9b79d77360 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -1026,9 +1026,7 @@ int main(int argc, char **argv) { // -I- is a deprecated GCC feature, scan for it and reject it. for (unsigned i = 0, e = I_dirs.size(); i != e; ++i) { if (I_dirs[i] == "-") { - Diags.Report(SourceLocation(), diag::err_pp_I_dash_not_supported, - SourceMgr); - + Diags.Report(diag::err_pp_I_dash_not_supported); I_dirs.erase(I_dirs.begin()+i); --i; } |

