[PATCH] D93630: [Attr] Apply GNU-style attributes to expression statements

Valeriy Savchenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 22 08:41:42 PST 2020


vsavchenko added a comment.

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

> However, taking a step back -- what attributes would need this functionality (and couldn't be written on something within the expression statement)?

It is still good old `suppress`, it is very counter-intuitive when you put `suppress` and it causes some weird parse errors: https://godbolt.org/z/zzY64q


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93630



More information about the cfe-commits mailing list