[llvm] d789ed1 - Fix implicit dependency on <string> header. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 11 02:24:36 PDT 2021
Author: Simon Pilgrim
Date: 2021-06-11T10:24:14+01:00
New Revision: d789ed11ea01b30a69e8cd9612ebd336398ef3ec
URL: https://github.com/llvm/llvm-project/commit/d789ed11ea01b30a69e8cd9612ebd336398ef3ec
DIFF: https://github.com/llvm/llvm-project/commit/d789ed11ea01b30a69e8cd9612ebd336398ef3ec.diff
LOG: Fix implicit dependency on <string> header. NFCI.
Added:
Modified:
llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp b/llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp
index 0e8f5979c6d1f..c2891e532e28b 100644
--- a/llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp
+++ b/llvm/tools/llvm-rust-demangle-fuzzer/llvm-rust-demangle-fuzzer.cpp
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "llvm/Demangle/Demangle.h"
-
#include <cstdint>
#include <cstdlib>
+#include <string>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
std::string NullTerminatedString((const char *)Data, Size);
More information about the llvm-commits
mailing list