diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-08-17 23:08:45 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-08-17 23:08:45 +0000 |
commit | 3060178ad9df29789505c1e6debcfc80a3a13587 (patch) | |
tree | 3f9a7c68c99aec3950171700b69d3b7152043a71 /lib/Driver/Driver.cpp | |
parent | e172e8b9e7fc67d7d03589af7e92fe777afcf33a (diff) |
Fix else style. No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index ec6a07a54b..84321139ff 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -397,8 +397,9 @@ void Driver::generateCompilationDiagnostics(Compilation &C, if (types::getPreprocessedType(it->first) == types::TY_INVALID) { it = Inputs.erase(it); ie = Inputs.end(); - } else + } else { ++it; + } } if (Inputs.empty()) { Diag(clang::diag::note_drv_command_failed_diag_msg) |