[PATCH] D35244: [LibFuzzer] Fix `-Wcomment` warning emitted by GCC.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 04:02:09 PDT 2017
delcypher created this revision.
[LibFuzzer] Fix `-Wcomment` warning emitted by GCC.
./FuzzerIOWindows.cpp:185:1: warning: multi-line comment [-Wcomment]
// Parse a directory ending in separator, like: SomeDir\
^
./FuzzerIOWindows.cpp:200:1: warning: multi-line comment [-Wcomment]
// Parse a servername and share, like: SomeServer\SomeShare\
^
https://reviews.llvm.org/D35244
Files:
lib/Fuzzer/FuzzerIOWindows.cpp
Index: lib/Fuzzer/FuzzerIOWindows.cpp
===================================================================
--- lib/Fuzzer/FuzzerIOWindows.cpp
+++ lib/Fuzzer/FuzzerIOWindows.cpp
@@ -182,7 +182,7 @@
return Pos - Offset;
}
-// Parse a directory ending in separator, like: SomeDir\
+// Parse a directory ending in separator, like: `SomeDir\`
// Returns number of characters considered if successful.
static size_t ParseDir(const std::string &FileName, const size_t Offset) {
size_t Pos = Offset;
@@ -197,7 +197,7 @@
return Pos - Offset;
}
-// Parse a servername and share, like: SomeServer\SomeShare\
+// Parse a servername and share, like: `SomeServer\SomeShare\`
// Returns number of characters considered if successful.
static size_t ParseServerAndShare(const std::string &FileName,
const size_t Offset) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35244.105996.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/23bdf748/attachment.bin>
More information about the llvm-commits
mailing list