Remove the SemIRLoc typedef (#5299)

Replace SemIRLoc typedef uses with explicitly SemIR::LocId, loc ->
loc_id for consistency.
This commit is contained in:
Jon Ross-Perkins
2025-04-14 14:28:15 +00:00
committed by GitHub
parent 77cbcd0aa8
commit 55da026a46
27 changed files with 253 additions and 236 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Carbon::Check {
class RegionStack {
public:
// A callback for Context::TODO.
using TodoFn = std::function<auto(SemIRLoc, std::string)->void>;
using TodoFn = std::function<auto(SemIR::LocId, std::string)->void>;
explicit RegionStack(TodoFn todo_fn) : todo_fn_(std::move(todo_fn)) {}