[TableGen] Do not construct string from nullptr
authorYuriy Chernyshov <georgthegreat@gmail.com>
Thu, 10 Sep 2020 14:40:40 +0000 (16:40 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 10 Sep 2020 14:42:11 +0000 (16:42 +0200)
commit0841916e87a39e3c223c986e8da31e4a9a1432e3
tree1c8272bf43c5c8a60c9c70300979b465a946e3b1
parent82edd428f1856ff386716b4f836194252458d001
[TableGen] Do not construct string from nullptr

While I am trying to forbid such usages systematically in
https://reviews.llvm.org/D79427 / P2166R0 to C++ standard,
this PR fixes this (definitelly incorrect) usage in llvm.

Differential Revision: https://reviews.llvm.org/D87185
llvm/utils/TableGen/DFAEmitter.cpp