mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Fix clang-tidy issues in //common. (#3962)
These likely predate the CI integration for `clang-tidy` runs. Most of these seem good generally, even though I disabled some with nolint comments. The multilevel pointer one seems almost like a bug in the check to detect the specific case of `memcpy`, but otherwise seems like a solid lint.
This commit is contained in:
@@ -26,12 +26,12 @@ constexpr CommandInfo TestCommandInfo = {
|
||||
.help_epilogue = "TODO",
|
||||
};
|
||||
|
||||
enum class TestEnum {
|
||||
enum class TestEnum : int8_t {
|
||||
Val1,
|
||||
Val2,
|
||||
};
|
||||
|
||||
enum class TestSubcommand {
|
||||
enum class TestSubcommand : int8_t {
|
||||
Sub1,
|
||||
Sub2,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user