[all-commits] [llvm/llvm-project] aefd6c: Combine two diagnostics into one and correct grammar
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Jul 14 08:43:50 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aefd6c615c91a2af89fa3697cf1813aac0f622de
https://github.com/llvm/llvm-project/commit/aefd6c615c91a2af89fa3697cf1813aac0f622de
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2021-07-14 (Wed, 14 Jul 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/bitfield.c
M clang/test/SemaCXX/ms_wide_bitfield.cpp
M clang/test/SemaObjC/class-bitfield.m
Log Message:
-----------
Combine two diagnostics into one and correct grammar
The anonymous and non-anonymous bit-field diagnostics are easily
combined into one diagnostic. However, the diagnostic was missing a
"the" that is present in the almost-identically worded
warn_bitfield_width_exceeds_type_width diagnostic, hence the changes to
test cases.
More information about the All-commits
mailing list