Avoid undefined behaviour if somehow NUM_GRAPHS equals 2^32 (or
authorDuncan Sands <baldrick@free.fr>
Fri, 29 Jul 2011 07:50:02 +0000 (07:50 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 29 Jul 2011 07:50:02 +0000 (07:50 +0000)
commit6815ff07d45e5905b2a5c1e1df8f09ae8c38e5de
tree358214fc3a2e189f13ab271fe6da06e6f8d1a5ea
parent3c036e520e1fb19f2dd4fdcbc7e6881984dc72f9
Avoid undefined behaviour if somehow NUM_GRAPHS equals 2^32 (or
whatever the size of unsigned is), though this can't actually
occur for any integer value of NUM_NODES.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136460 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ADT/SCCIteratorTest.cpp