]> granicus.if.org Git - llvm/commit
BitsInit::resolveReferences - silence static analyzer null dereference warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Oct 2019 16:46:21 +0000 (16:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Oct 2019 16:46:21 +0000 (16:46 +0000)
commit644ccfc9c78964490673a1b50c592a4da9e12a1b
treec330619f46bc4d248021a649337c690cf911e150
parentdd72464f6425021c7327012f2c59be728dd84203
BitsInit::resolveReferences - silence static analyzer null dereference warning. NFCI.

The static analyzer is warning about a potential null dereference, assert to check that the loop has set the cached pointer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374789 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/Record.cpp