[Lldb-commits] [PATCH] D151683: [clang] Enable C++11-style attributes in all language modes

Nikolas Klauser via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 30 15:06:21 PDT 2023


philnik added a comment.

In D151683#4380877 <https://reviews.llvm.org/D151683#4380877>, @erichkeane wrote:

> What is the justification for this?

What exactly are you asking for? Why I'd like to back port it? This would make quite a bit of code in libc++ simpler and avoids pit-falls where an attribute works in some place in some version but not in another.

> Do other compilers do this?

ICC and NVC++ support this: https://godbolt.org/z/TeMnGdGsY

> Was there an RFC?

No. I guess, since you are asking I should write one for this? Only for the removal of `-fdouble-square-bracket-attributes`, or also for back porting this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151683



More information about the lldb-commits mailing list