This revision was automatically updated to reflect the committed changes.
Closed by commit rGb972f2d05e8b: [Wdocumentation] Properly place deprecated
attribute (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71140/new/
https://
gribozavr2 marked an inline comment as done.
gribozavr2 added inline comments.
Comment at: clang/test/Sema/warn-documentation-fixits.cpp:4
+// RUN: %clang_cc1 -std=c++14 -fsyntax-only -Wdocumentation
-Wdocumentation-pedantic -fcomment-block-commands=foobar
-fdiagnostics-parseab
Mordante marked 2 inline comments as done.
Mordante added inline comments.
Comment at: clang/test/Sema/warn-documentation-fixits.cpp:4
+// RUN: %clang_cc1 -std=c++14 -fsyntax-only -Wdocumentation
-Wdocumentation-pedantic -fcomment-block-commands=foobar
-fdiagnostics-parseable-f
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@+2 {{declaration is marked with '\deprecated' co
Mordante created this revision.
Mordante added a reviewer: gribozavr2.
Mordante added a project: clang.
It is now placed before the function:
- allows to replace `__attribute__((deprecated))` with `[[deprecated]]`.
- required for trailing returns.
Fixes bug: https://bugs.llvm.org/show_bug.cgi?id