Skip to content
Commit 0c22d5a3 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Instead of dereferencing std::vector::end() (which is UB and causes failed...

Instead of dereferencing std::vector::end() (which is UB and causes failed assertions in debug builds with Visual Studio), use data() + size() to calculate the end iterator. Amends r231952.

llvm-svn: 232037
parent 92bdaabf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment