]> granicus.if.org Git - clang/commit
Further increase helfulness of assert message
authorRichard Barton <richard.barton@arm.com>
Fri, 16 Oct 2015 20:15:29 +0000 (20:15 +0000)
committerRichard Barton <richard.barton@arm.com>
Fri, 16 Oct 2015 20:15:29 +0000 (20:15 +0000)
commit76503c750e8a5a97e62a0b055934206ec142de01
tree1223d803f37820e60acfd686e077dd96fe2037e2
parent268bd88e302d52475061c9b8c405b972656866b6
Further increase helfulness of assert message

If you increase the number of diags of a particular type by one more than the
number available you get the nice assert message. If you do it by two more
than available you get the old non-helpful message. Combining the two makes
sense I think.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250546 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/DiagnosticIDs.cpp