[all-commits] [llvm/llvm-project] acaf6b: [NFC] Add [[maybe_unused]] to avoid warning in gcc9
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Thu Aug 18 23:43:56 PDT 2022
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-08-19 (Fri, 19 Aug 2022)
[NFC] Add [[maybe_unused]] to avoid warning in gcc9
GCC9 may issue warning for the 'unused' parameters in if constexpr.
This commit try to fix it by adding the [[maybe_unused]] attribute.
More information about the All-commits