[all-commits] [llvm/llvm-project] 00f6d6: [NFC][CodingStandard] Require``[[maybe_unused]]`` ...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Jun 25 15:47:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 00f6d6ab66a7c7caf74562eea442653919a79dd9
https://github.com/llvm/llvm-project/commit/00f6d6ab66a7c7caf74562eea442653919a79dd9
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-06-25 (Wed, 25 Jun 2025)
Changed paths:
M llvm/docs/CodingStandards.rst
Log Message:
-----------
[NFC][CodingStandard] Require``[[maybe_unused]]`` for unused variables in asserts (#142850)
Require using attribute `[[maybe_unused]` for assert-only variables that
may be unused in non-assert enabled builds to suppress unused variable
warnings.
---------
Co-authored-by: James Henderson <James.Henderson at sony.com>
Co-authored-by: Nikita Popov <github at npopov.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list