[PATCH] D67935: Add `#pragma clang deprecated`, used to deprecate macros

2020-09-03 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D67935#2251145 , @erik.pilkington wrote: > @aaron.ballman: Did you happen to get any feedback on macro attributes? There > are a growing number of macros that we'd like to be able to deprecate, and > having a workable s

[PATCH] D67935: Add `#pragma clang deprecated`, used to deprecate macros

2020-09-01 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington requested review of this revision. erik.pilkington added a comment. @aaron.ballman: Did you happen to get any feedback on macro attributes? There are a growing number of macros that we'd like to be able to deprecate, and having a workable solution would be useful for us. Reposi

[PATCH] D67935: Add `#pragma clang deprecated`, used to deprecate macros

2019-09-24 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington planned changes to this revision. erik.pilkington added a comment. Marking as "planned changes" to get this out of review queues. Aaron Ballman wants to add "macro attributes", which would be a better way of solving this problem, and is going to ask the C and C++ committees if th

[PATCH] D67935: Add `#pragma clang deprecated`, used to deprecate macros

2019-09-23 Thread Erik Pilkington via Phabricator via cfe-commits
erik.pilkington created this revision. erik.pilkington added reviewers: rsmith, aaron.ballman. Herald added subscribers: ributzka, dexonsmith, jkorous. Herald added a project: clang. This patch adds support for `#pragma clang deprecated`, which emits a deprecated warning whenever it is encountere