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

Chris Lattner via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 12:57:27 PDT 2016


lattner added a comment.

You should be able to make string literals work if you use a template that takes an array of char with the size as a template parameter.


https://reviews.llvm.org/D24904





More information about the llvm-commits mailing list