Fixes https://github.com/llvm/llvm-project/issues/55457
Ensures that attributes in the enum declaration are interpreted
correctly, for instance:
enum class [[nodiscard]] E { a, b };
Differential D125848
[clang-format] Handle attributes in enum declaration. tchatow on May 17 2022, 9:19 PM. Authored by
Details Fixes https://github.com/llvm/llvm-project/issues/55457 Ensures that attributes in the enum declaration are interpreted enum class [[nodiscard]] E { a, b };
Diff Detail
Event TimelineComment Actions Could you please add test cases with non-empty enums both with and without comments please like in the bug report? |