[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e5eeed14 20/24: Explain why two more clang wa
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e5eeed14 20/24: Explain why two more clang warnings are disabled |
Date: |
Fri, 8 Jul 2022 07:11:28 -0400 (EDT) |
branch: master
commit e5eeed14b95cab101ce492a6550f6adb692e9bf4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Explain why two more clang warnings are disabled
---
compiler_clang_warnings.make | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compiler_clang_warnings.make b/compiler_clang_warnings.make
index c56a01a8..0aea81ef 100644
--- a/compiler_clang_warnings.make
+++ b/compiler_clang_warnings.make
@@ -47,6 +47,8 @@ clang_c_warnings := \
# Write '-Wno' options at the end, with a rationale here.
#
+# -Wlogical-op-parentheses: && is multiplicative; || is additive
+# -Wmismatched-tags: stylistic freedom--not a defect
# -Wpadded: useful only for low-level work
# -Wstring-plus-int: false negatives and no true positives in lmi
# -Wunreachable-code-break: pleonastic 'break' adds clarity
- [lmi-commits] [lmi] master updated (be3de4b0 -> f8fac8dd), Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 55cc6938 01/24: Establish an initial blacklist of clang warnings, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 10a2b305 06/24: Remediate unreachable 'return' statements, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 8c4089d6 02/24: Label a section for target-specific warnings, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 5de37ebf 07/24: Don't avoid a diagnostic that no longer arises, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 7524301d 08/24: Improve concinnity, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master fb7c030b 10/24: Work around clang '-Wno-unreachable-code-return', Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master a5e06004 14/24: Enable another clang warning, except for cgicc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master c21d8849 12/24: Explain why certain clang warnings will remain disabled, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e5eeed14 20/24: Explain why two more clang warnings are disabled,
Greg Chicares <=
- [lmi-commits] [lmi] master f8fac8dd 24/24: Explain why several more clang warnings are disabled, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 06f81a9c 05/24: Refine warning pragmata, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 32145870 03/24: Correct an inconsistency in a comment, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 5334fa49 04/24: Prefer 'nullptr' to '0', Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e7ef946d 11/24: Disable a warning only for cgicc, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master e97c7ec6 17/24: Enable another clang warning, with one pragmatic exception, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master b5cee829 18/24: Explain why '-Wpadded' is disabled for clang, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 9a551769 22/24: Disable floating-point comparison warning, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master bb0434c3 09/24: Avoid clang warning on silliness, Greg Chicares, 2022/07/08
- [lmi-commits] [lmi] master 17c9b8e0 16/24: Enable another clang warning, except for cgicc, Greg Chicares, 2022/07/08