diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-08-17 18:51:56 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-08-17 18:51:56 +0000 |
commit | cc0de8c08128023544dd0c9c7ee67b105fed2985 (patch) | |
tree | 5040e1270c9d779f8a78a5cab1b940a0f8e4da14 /lib/Driver/Tools.cpp | |
parent | 285f9a284704c07cd50e4597408d5f93518cd7c3 (diff) |
Fix iterator end for r137842.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 2301811c99..f006c3b391 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -2451,7 +2451,7 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const { it != ie;) { if (!strcmp(*it, "-Wno-self-assign")) { it = CmdArgs.erase(it); - it = CmdArgs.end(); + ie = CmdArgs.end(); } else ++it; |