[PATCH] D71140: [Wdocumentation] Properly place deprecated attribute

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 05:45:14 PST 2019


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/test/Sema/warn-documentation-fixits.cpp:83
+
+#if __cplusplus >= 201402L
+  // expected-warning at +2 {{declaration is marked with '\deprecated' command but does not have a deprecation attribute}}
----------------
Since you depend on c++14 in the test, please add an extra RUN line for c++14.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71140





More information about the cfe-commits mailing list