Skip to content

Commit 845ed68

Browse files
committed
Improve comment wording
1 parent cf8748a commit 845ed68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/FileCheck/FileCheck.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ Expected<std::string> StringSubstitution::getResultForDiagnostics() const {
304304
OS << '"';
305305
// Escape the string if it contains any characters that
306306
// make it hard to read, such as tabs, newlines, quotes, and non-printable characters.
307-
// Note that we do not include backslashes in this set, because they are
307+
// These are the characters that are escaped by write_escaped(),
308+
// except we do not include backslashes, because they are
308309
// common in Windows paths and escaping them would make the output
309310
// harder to read.
310311
// However, when we do escape, backslashes are escaped as well,

0 commit comments

Comments
 (0)