lean4-htt/src/util
Mac Malone 280fcc9883
feat: lean --error=kind (#6362)
This PR adds the `--error=kind` option (shorthand: `-Ekind`) to the
`lean` CLI. When set, messages of `kind` (e.g.,
`linter.unusedVariables`) will be reported as errors. This setting does
nothing in interactive contexts (e.g., the server).

Closes #5194.

The spelling `--error` was chosen instead of the common `-Werror` both
for practical and behavioral reasons. Behaviorally, this option effects
not just warnings, but informational messages as well. Practically,
`-Werror` conflicts with the existing `-W` option for the worker and
`lean` also does not currently use long single-hyphen option names.
2024-12-14 01:31:14 +00:00
..
ascii.cpp
ascii.h
bit_tricks.cpp
bit_tricks.h
CMakeLists.txt fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
escaped.cpp
escaped.h
exception_with_pos.h
ffi.cpp chore: CMAKE_CXX_SYSROOT_FLAG is also needed for linking (#6297) 2024-12-03 16:14:22 +00:00
freset.h
init_module.cpp fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
init_module.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
io.h
kvmap.cpp
kvmap.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
lbool.cpp
lbool.h
list.h
list_fn.cpp
list_fn.h
macros.h
map_foreach.cpp
map_foreach.h
message_definitions.h feat: define Int8 (#5790) 2024-10-25 06:06:40 +00:00
name.cpp fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
name.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
name_generator.cpp
name_generator.h
name_hash_map.h
name_hash_set.h
name_map.h
name_set.cpp
name_set.h
nat.h perf: fix implementation of move constructors and move assignment ope… (#4700) 2024-08-02 17:55:03 +00:00
null_ostream.h
option_declarations.cpp feat: hover/go-to-def/refs for options 2022-11-07 20:01:13 +01:00
option_declarations.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
options.cpp
options.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
output_channel.h chore: fix spelling mistakes in non-Lean files (#5430) 2024-09-23 21:11:20 +00:00
pair.h
path.cpp fix: eliminate widestring uses 2023-10-07 12:07:19 +02:00
path.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
rb_map.h
rb_tree.h
rc.h
shell.cpp feat: lean --error=kind (#6362) 2024-12-14 01:31:14 +00:00
test.h
timeit.cpp
timeit.h
timer.cpp
timer.h
unit.h
unlock_guard.h