[all-commits] [llvm/llvm-project] e9fe20: Revert "[Clang] Add a warning on invalid UTF-8 in ...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Jul 6 13:52:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9fe20dab39edb911afacdb6ed9ec2c7499a59cf
      https://github.com/llvm/llvm-project/commit/e9fe20dab39edb911afacdb6ed9ec2c7499a59cf
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/Lexer.cpp
    R clang/test/Lexer/comment-invalid-utf8.c
    M clang/test/SemaCXX/static-assert.cpp
    M llvm/include/llvm/Support/ConvertUTF.h
    M llvm/lib/Support/ConvertUTF.cpp

  Log Message:
  -----------
  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.




More information about the All-commits mailing list