]> granicus.if.org Git - clang/commit
Fix an invalid use of ::back() on an newly emptied vector. Also tighten
authorChandler Carruth <chandlerc@gmail.com>
Tue, 28 Jun 2011 21:43:34 +0000 (21:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 28 Jun 2011 21:43:34 +0000 (21:43 +0000)
commit9af7e8e0cb15b41da930e481bbc3b927ad95f78f
tree07896f805f31d4fd960e35381cb8873374f1b861
parent99ca47b21f6b32ea8a92b0c8e0bea18170f86b9e
Fix an invalid use of ::back() on an newly emptied vector. Also tighten
up several places where we never expect to have NULL pointers to assert
early.

This fixes a valgrind error within CorrectTypo, but not the
non-determinism.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134032 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLookup.cpp