summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r--clang/lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index a4d6a2e8f75..74efcfb25a8 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud