[libcxx-commits] [PATCH] D104235: [libc++abi] NFC: avoid a -Wunused-parameter warning

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 14 11:01:02 PDT 2021


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
Comment at: libcxxabi/src/cxa_personality.cpp:248-254
 readEncodedPointer(const uint8_t** data, uint8_t encoding, uintptr_t base = 0)
 {
+    // Parameter 'base' will be used by a follow-on patch. Before that patch
+    // is landed the following statement is to avoid the -Wunused-parameter
+    // warning for now.
+    (void)base;
+
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104235



More information about the libcxx-commits mailing list