]> granicus.if.org Git - clang/commit
[libclang] Make sure we don't try to erase past the StoredDiagnostics vector.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 24 Oct 2011 17:25:20 +0000 (17:25 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 24 Oct 2011 17:25:20 +0000 (17:25 +0000)
commit3e9d32656a8a3a787f64f9beeef66d2d700eb85d
tree425d62217850e1752f92b53735f6f9d2049eb975
parent2a04f1cf72d57cf5d74b24e785c04f7a3fc3398f
[libclang] Make sure we don't try to erase past the StoredDiagnostics vector.

Ted came upon the bug but I couldn't make a test out of it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142805 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp