[all-commits] [llvm/llvm-project] 522590: [flang] Add [[maybe_unused]] to fix -Werror build ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Feb 29 13:02:52 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5225901ecd53ba1e3f1519f3edea7d1aec15502d
https://github.com/llvm/llvm-project/commit/5225901ecd53ba1e3f1519f3edea7d1aec15502d
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[flang] Add [[maybe_unused]] to fix -Werror build (#83456)
Add the [[maybe_unused]] attribute to a variable in
lib/Lower/OpenMP/OpenMP.cpp to avoid a (possibly bogus) unused variable
warning when building with GCC 9.3.0.
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