[all-commits] [llvm/llvm-project] 98da18: [clang] Remove diagnostic that came with `[[clang:...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Thu Nov 2 05:17:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98da18344eed96cabfd2214131185686b1983412
      https://github.com/llvm/llvm-project/commit/98da18344eed96cabfd2214131185686b1983412
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  [clang] Remove diagnostic that came with `[[clang::preferred_type]]` (#70632)

https://github.com/llvm/llvm-project/pull/69104 introduce a diagnostic that checked underlying type of an enum against type of bit-field that is annotated with `[[clang::preferred_type]]`. When I tried to introduce this annotation in https://github.com/llvm/llvm-project/pull/70349, it turned out to be too chatty, despite effort to avoid that.




More information about the All-commits mailing list