Tidy up lint issues. (#3429)

These are manual fixes; mostly from clang-tidy, some from clangd (which
notes unused includes).

In typed_insts, adding inlline due to misc-definitions-in-headers. Per
discussion, clang-tidy is wrong, but inline silences it.

For parameter name skew in definition versus declaration, I'm just using
the name from the definition.

---------

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
Jon Ross-Perkins
2023-11-29 20:41:53 +00:00
committed by GitHub
co-authored by Richard Smith
parent eae630a3db
commit 0d618b1278
24 changed files with 55 additions and 63 deletions
-1
View File
@@ -6,7 +6,6 @@
#include "toolchain/check/convert.h"
#include "toolchain/parse/node_kind.h"
#include "toolchain/sem_ir/inst.h"
#include "toolchain/sem_ir/inst_kind.h"
namespace Carbon::Check {