[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-28 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL345486: Support for groups of attributes in #pragma clang attribute (authored by epilk, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D53621?

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-28 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington marked an inline comment as done. erik.pilkington added inline comments. Comment at: clang/docs/LanguageExtensions.rst:2666 - #pragma clang attribute push(__attribute__((annotate("custom"))), apply_to = function) + #pragma clang attribute push (__attribute__(

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-26 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. LGTM too when Aaron's comments are addressed https://reviews.llvm.org/D53621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-26 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM aside from some small nits. Comment at: clang/docs/LanguageExtensions.rst:2666 - #pragma clang attribute push(__attribute__((annotate("custom"))), apply

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-25 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington updated this revision to Diff 171218. erik.pilkington marked an inline comment as done. erik.pilkington added a comment. Add documentation and release notes, `{}`s. Thanks! https://reviews.llvm.org/D53621 Files: clang/docs/LanguageExtensions.rst clang/docs/ReleaseNotes.rst

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-25 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added a comment. Thanks! It looks pretty good, just minor nit. could you also update the language extension doc and release notes? Comment at: clang/lib/Sema/SemaAttr.cpp:645 + + for (const PragmaAttributeEntry &Entry : PragmaAttributeStack.back().Entries) +if (!

[PATCH] D53621: Support for groups of attributes in #pragma clang attribute

2018-10-23 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington created this revision. erik.pilkington added reviewers: aaron.ballman, arphaman. Herald added a subscriber: dexonsmith. This patch allows pushing an empty `#pragma clang attribute push`, then adding multiple attributes to it, then popping them all with `#pragma clang attribute po