Revert "[Clang] Add a warning on invalid UTF-8 in comments."
authorNico Weber <thakis@chromium.org>
Wed, 6 Jul 2022 20:51:42 +0000 (22:51 +0200)
committerNico Weber <thakis@chromium.org>
Wed, 6 Jul 2022 20:51:52 +0000 (22:51 +0200)
commite9fe20dab39edb911afacdb6ed9ec2c7499a59cf
tree25eb13855a23daf0a9fda281e5a2adf60bb81a55
parenta638648fef76146634c2199ce7b90c4bc6bfed01
Revert "[Clang] Add a warning on invalid UTF-8 in comments."

This reverts commit 4174f0ca618b467571b43cff12cbe4c4239670f8.

Also revert follow-up "[Clang] Fix invalid utf-8 detection"
This reverts commit bf45e27a676d87944f1f13d5f0d0f39935fc4010.

The second commit broke tests, see comments on
https://reviews.llvm.org/D129223, and it sounds like the first
commit isn't valid without the second one. So reverting both for now.
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/Lexer.cpp
clang/test/Lexer/comment-invalid-utf8.c [deleted file]
clang/test/SemaCXX/static-assert.cpp
llvm/include/llvm/Support/ConvertUTF.h
llvm/lib/Support/ConvertUTF.cpp