This replaces the non-standard __attribute__((deprecated)) with the standard [[deprecated]] when compiling in C2x/C++14 mode.
Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753
Depends: D71140
 Differential  D71141  
[Wdocumentation] Use C2x/C++14 deprecated attribute Authored by Mordante on Dec 6 2019, 12:05 PM. 
Details This replaces the non-standard __attribute__((deprecated)) with the standard [[deprecated]] when compiling in C2x/C++14 mode. Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753 Depends: D71140 
Diff Detail Event Timeline
 
 
 
 
 Comment Actions LGTM! 
 Comment Actions Thanks for the review! I'll wait with committing until @gribozavr2 had time to review this patch and D71140. 
 Comment Actions LGTM with comments fixed. 
 Comment Actions Thanks for your review of this set of patches! 
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This attribute also exists with this spelling in C2x, FWIW.