[PATCH] D103938: Diagnose -Wunused-value based on CFG reachability

Yuanfang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 3 13:05:38 PDT 2021


ychen added inline comments.


================
Comment at: clang/include/clang/Sema/Sema.h:5120
+  ///
+  /// \param Statement If Statement is non-null, delay reporting the
+  /// diagnostic until the function body is parsed, and then do a basic
----------------
xbolva00 wrote:
> Please adjust documentation, there is no "Statement" param.
Fixed in a944f801cacdaa40. Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103938



More information about the cfe-commits mailing list