OSDN Git Service

=delete the StringRef(nullptr_t) constructor.
authorZachary Turner <zturner@google.com>
Wed, 21 Sep 2016 22:29:36 +0000 (22:29 +0000)
committerZachary Turner <zturner@google.com>
Wed, 21 Sep 2016 22:29:36 +0000 (22:29 +0000)
commitecdd589ea6470e8496014686d9b74dc5a7a342a1
tree2bcd8e1910432b55839b361c1867abe42b7b2d6c
parenta6b3c30ea293de16f5ee9aa73f09cfebeb5bf6b0
=delete the StringRef(nullptr_t) constructor.

It's a guaranteed crash if you construct a StringRef with
nullptr, so might as well delete the constructor that allows
it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282116 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h