diff options
author | Rui Ueyama <ruiu@google.com> | 2015-01-21 22:16:17 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-01-21 22:16:17 +0000 |
commit | f9a30ddcc0d3b33ef4bb2eff6f43557974c39e03 (patch) | |
tree | 57eb862c9d385c6c23810350da23d6c22e0769bf /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 47af023ada84011887edcc59b14967f2f7de32cd (diff) | |
download | llvm-f9a30ddcc0d3b33ef4bb2eff6f43557974c39e03.zip llvm-f9a30ddcc0d3b33ef4bb2eff6f43557974c39e03.tar.gz llvm-f9a30ddcc0d3b33ef4bb2eff6f43557974c39e03.tar.bz2 |
Fix runtime error on Windows.
I believe the original code is valid, but on Windows it failed with an
assertion error saying "Expression: vector iterator is not decrementable."
Don't use rbegin and rend to workaround that error.
llvm-svn: 226706
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions