Instead of dereferencing std::vector::end() (which is UB and causes failed assertions...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 12 Mar 2015 13:49:45 +0000 (13:49 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 12 Mar 2015 13:49:45 +0000 (13:49 +0000)
commit0c22d5a3392e21772ec7c29ba1bdc818f9ab61e5
tree136aad45d46fab6fe8fc2936f24860c874b4c6a2
parent92bdaabf97fbe98bdb28c992df624b18d9c3c7e1
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
clang/lib/CodeGen/MicrosoftCXXABI.cpp