[PATCH] D24904: Allow StringRef to be constructed with a null pointer

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 11:07:10 PDT 2016


clayborg added a comment.

It we have the deleted nullptr constructor, it actually takes care of the "== NULL" case as well because it will complain it doesn't know which function should be used, so things still fails during compilation which is good.


https://reviews.llvm.org/D24904





More information about the llvm-commits mailing list