aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r--lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index a4d6a2e8f7..74efcfb25a 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -3535,7 +3535,7 @@ LexNextToken:
// Non-ASCII characters tend to creep into source code unintentionally.
// Instead of letting the parser complain about the unknown token,
- // just warn that we don't have valid UTF-8, then drop the character.
+ // just diagnose the invalid UTF-8, then drop the character.
if (!isLexingRawMode())
Diag(CurPtr, diag::err_invalid_utf8);