summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-03-12 13:49:45 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-03-12 13:49:45 +0000
commit0c22d5a3392e21772ec7c29ba1bdc818f9ab61e5 (patch)
tree136aad45d46fab6fe8fc2936f24860c874b4c6a2 /clang/lib/Parse/ParseDecl.cpp
parent92bdaabf97fbe98bdb28c992df624b18d9c3c7e1 (diff)
downloadbcm5719-llvm-0c22d5a3392e21772ec7c29ba1bdc818f9ab61e5.tar.gz
bcm5719-llvm-0c22d5a3392e21772ec7c29ba1bdc818f9ab61e5.zip
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
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud