mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:54:41 +01:00
Remove the SemIRLoc typedef (#5299)
Replace SemIRLoc typedef uses with explicitly SemIR::LocId, loc -> loc_id for consistency.
This commit is contained in:
@@ -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)) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user