Author: Aaron Ballman Date: 2023-01-25T15:52:49-05:00 New Revision: 90f7db87936d967998f90c8b430e5243872223b3
URL: https://github.com/llvm/llvm-project/commit/90f7db87936d967998f90c8b430e5243872223b3 DIFF: https://github.com/llvm/llvm-project/commit/90f7db87936d967998f90c8b430e5243872223b3.diff LOG: Fix clang-tools-extra Sphinx build This addresses the issue found in: https://lab.llvm.org/buildbot/#/builders/115/builds/41077 Added: Modified: clang-tools-extra/docs/clang-tidy/checks/bugprone/standalone-empty.rst Removed: ################################################################################ diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/standalone-empty.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/standalone-empty.rst index 80805bafddd5..8dc60464fe2f 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/standalone-empty.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/standalone-empty.rst @@ -31,6 +31,7 @@ A call to ``clear()`` would appropriately clear the contents of the range: v.clear(); Limitations: -- Doesn't warn if ``empty()`` is defined and used with the ignore result in the + +* Doesn't warn if ``empty()`` is defined and used with the ignore result in the class template definition (for example in the library implementation). These error cases can be caught with ``[[nodiscard]]`` attribute. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits