Small cleanups in toolchain code (#2474)

Doing some sorting of functions / enums (generally speaking, I've been trying to keep these loosely lexically sorted for lack of a better ordering).

Also removes some code that seems to be dead, and a minor TODO comment fix.
This commit is contained in:
Jon Ross-Perkins
2022-12-16 15:46:53 -08:00
committed by GitHub
parent c74e39dbb3
commit 5d123189c3
4 changed files with 199 additions and 198 deletions
@@ -66,7 +66,7 @@ interface foo {
// CHECK:STDERR: {{.*}}/toolchain/parser/testdata/generics/interface/fail_self_param_syntax.carbon:[[@LINE+1]]:10: Deduced parameters must be of the form: `<name>: <Type>` or `addr <name>: <Type>`.
fn Mul[Self](b: Self) -> Self;
// TODO The recovery token is currently inserted after the `;`:
// TODO: The recovery token is currently inserted after the `;`:
// ```
// fn Div[me: Self(b: Self) -> Self;]
// ```