]> granicus.if.org Git - clang/commit
Add a sanity check in the Redeclarable::redecl_iterator to avoid infinite loop
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 17 Dec 2011 04:13:25 +0000 (04:13 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 17 Dec 2011 04:13:25 +0000 (04:13 +0000)
commit672b3232f7b0cc5dc024a7702be1a26885fdea57
tree4e6d07eb87647201abefb4af7276397520ab7dd4
parent0db9f4dad563a335641f5b9d4a42504d638b6c85
Add a sanity check in the Redeclarable::redecl_iterator to avoid infinite loop
when we formed an invalid redeclaration chain due to a bug.

Thanks to Doug for the hint!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146816 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Redeclarable.h