diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index a4d6a2e8f759..74efcfb25a8f 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);