[all-commits] [llvm/llvm-project] b89336: Fix the diagnostic about attribute placement for s...

Priyanshi Agarwal via All-commits all-commits at lists.llvm.org
Wed Apr 26 12:19:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b893368fd4fdf40b7778df8d0b17312def1a8156
      https://github.com/llvm/llvm-project/commit/b893368fd4fdf40b7778df8d0b17312def1a8156
  Author: ipriyanshi1708 <priyanshiagarwal1708 at gmail.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/attr-declspec-ignored.cpp

  Log Message:
  -----------
  Fix the diagnostic about attribute placement for scoped enumerations

Fixed the error message for attribute placement. Earlier it was showing
'place it after "enum"' but it should be 'place it after "enum class"'
which I have fixed in this patch.

Fixes https://github.com/llvm/llvm-project/issues/61660
Differential Revision: https://reviews.llvm.org/D147989




More information about the All-commits mailing list