From 2fa6838e5fe93c9eb492e8bc9d9b2295cc2f9fe2 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Fri, 14 Jun 2019 22:34:30 +0000 Subject: [PATCH] [libFuzzer] fix -Werror build llvm-svn: 363469 --- compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp b/compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp index bd249c4b6caf..c7200a3c26bd 100644 --- a/compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp @@ -123,7 +123,7 @@ static Vector DFTStringToVector(const std::string &DFTString) { static bool ParseError(const char *Err, const std::string &Line) { Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str()); return false; -}; +} // TODO(metzman): replace std::string with std::string_view for // better performance. Need to figure our how to use string_view on Windows.