NULL cannot be portably used as the last argument to a function with __attribute...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 28 Sep 2011 20:41:50 +0000 (20:41 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 28 Sep 2011 20:41:50 +0000 (20:41 +0000)
commitf56dc281ceea53f191ee3fb773a44aa4e5dc76ce
tree7d980657dfe8548ce2ef57ff4023d541a16bf7ac
parentb18abd077e168f38acb1633c4101fbe3c8a18e41
NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works.  Use (void*)0 instead.  PR11002.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140720 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/TypeBuilderTest.cpp