diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2015-03-12 13:49:45 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2015-03-12 13:49:45 +0000 |
| commit | 0c22d5a3392e21772ec7c29ba1bdc818f9ab61e5 (patch) | |
| tree | 136aad45d46fab6fe8fc2936f24860c874b4c6a2 /clang/lib/Lex/Preprocessor.cpp | |
| parent | 92bdaabf97fbe98bdb28c992df624b18d9c3c7e1 (diff) | |
| download | bcm5719-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/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions

