|
@@ -64,6 +64,7 @@ namespace llvm {
|
|
|
|
|
|
/// Construct an empty string ref.
|
|
|
/*implicit*/ StringRef() : Data(nullptr), Length(0) {}
|
|
|
+ StringRef(std::nullptr_t) = delete; // HLSL Change - So we don't accidentally pass `false` again
|
|
|
|
|
|
/// Construct a string ref from a cstring.
|
|
|
/*implicit*/ StringRef(const char *Str)
|