Now
MAIN commitmail json YAML
src/distrib/sets/lists/tests/mi@1.1162
/
diff
/
nxr@1.1162
src/tests/usr.bin/xlint/lint1/Makefile@1.114 / diff / nxr@1.114
src/tests/usr.bin/xlint/lint1/msg_241.c@1.7 / diff / nxr@1.7
src/tests/usr.bin/xlint/lint1/msg_348.c@1.1 / diff / nxr@1.1
src/tests/usr.bin/xlint/lint1/msg_348.exp@1.1 / diff / nxr@1.1
src/usr.bin/xlint/lint1/err.c@1.147 / diff / nxr@1.147
src/usr.bin/xlint/lint1/tree.c@1.386 / diff / nxr@1.386
src/tests/usr.bin/xlint/lint1/Makefile@1.114 / diff / nxr@1.114
src/tests/usr.bin/xlint/lint1/msg_241.c@1.7 / diff / nxr@1.7
src/tests/usr.bin/xlint/lint1/msg_348.c@1.1 / diff / nxr@1.1
src/tests/usr.bin/xlint/lint1/msg_348.exp@1.1 / diff / nxr@1.1
src/usr.bin/xlint/lint1/err.c@1.147 / diff / nxr@1.147
src/usr.bin/xlint/lint1/tree.c@1.386 / diff / nxr@1.386
lint: warn if an enum name is used for mismatched array access
This helps to keep the enum definition and the straight-forward
implementation of a to_string or name function in sync.
The test for message 241 had to be adjusted because of exactly this bug.
That test defined a bit mask enum but accessed it like a value enum
type.
This helps to keep the enum definition and the straight-forward
implementation of a to_string or name function in sync.
The test for message 241 had to be adjusted because of exactly this bug.
That test defined a bit mask enum but accessed it like a value enum
type.