[PATCH] D147989: [clang] Fix Attribute Placement

Priyanshi Agarwal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 09:38:39 PDT 2023


ipriyanshi1708 added a comment.

In D147989#4295928 <https://reviews.llvm.org/D147989#4295928>, @aaron.ballman wrote:

> The issue is that `GetDiagnosticTypeSpecifierID()` is called for more diagnostics than just `warn_declspec_attribute_ignored`. You need to also update the `err_constexpr_tag` and `err_standalone_class_nested_name_specifier` to add `enum class` and `enum struct` as well.

Okay! Thanks. I have updated the code now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147989/new/

https://reviews.llvm.org/D147989



More information about the cfe-commits mailing list