diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-09-04 04:19:01 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-09-04 04:19:01 +0000 |
commit | 114ac1a2309d5d454347839921565857b2b4ad74 (patch) | |
tree | 0fcc97e19fc8af549baf1a15e6fc44c680a83ceb /llvm/lib/Support/Unicode.cpp | |
parent | ff7cea8c1ada07d68adbeb86313d884f6e3f91f1 (diff) | |
download | llvm-114ac1a2309d5d454347839921565857b2b4ad74.zip llvm-114ac1a2309d5d454347839921565857b2b4ad74.tar.gz llvm-114ac1a2309d5d454347839921565857b2b4ad74.tar.bz2 |
Use llvm::next() instead of incrementing begin iterators of std::vector.
Iterator of std::vector may be implemented as a raw pointer. In
this case begin iterators are rvalues and cannot be incremented.
For example, this is the case with STDCXX implementation of vector.
Patch by Konstantin Tokarev <annulen@yandex.ru>.
llvm-svn: 189911
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions