[PATCH] D128372: [Clang-Tidy] Empty Check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 22 11:18:00 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:127
+
+  Warns when `empty()` is used on a range and the result is ignored. Suggests `clear()` as an alternative
+  if it is an existing member function.
----------------
Please synchronize with first statement in documentation.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone/standalone-empty.cpp:629
+  }
+
+
----------------
Excessive newline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128372



More information about the cfe-commits mailing list