We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbdd2c commit f15f5b4Copy full SHA for f15f5b4
llvm/include/llvm/Support/MemoryBuffer.h
@@ -150,7 +150,7 @@ class LLVM_ABI MemoryBuffer {
150
/// is "-".
151
static ErrorOr<std::unique_ptr<MemoryBuffer>>
152
getFileOrSTDIN(const Twine &Filename, bool IsText = false,
153
- bool RequiresNullTerminator = true,
+ bool RequiresNullTerminator = false,
154
std::optional<Align> Alignment = std::nullopt);
155
156
/// Map a subrange of the specified file as a MemoryBuffer.
0 commit comments