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

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 28 21:52:03 PST 2021


NoQ added inline comments.


================
Comment at: clang/include/clang/Basic/Features.def:256
 EXTENSION(pragma_clang_attribute_external_declaration, true)
+EXTENSION(statement_attributes_with_gnu_syntax, true)
 EXTENSION(gnu_asm, LangOpts.GNUAsm)
----------------
People seem to occasionally write lit tests for those. There isn't much room for error there but i guess a tiny test wouldn't hurt.


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