commit | 4e658c82a2758b4b8ad05ec39510f75b3835915b | [log] [tgz] |
---|---|---|
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | Tue Apr 23 13:16:06 2024 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 02:04:59 2024 -0700 |
tree | b6dfcc87b0fc3d604466a56ad91f085fdd621c9f | |
parent | f5caa1bb5fa3aedf9223b511a12332e0969de777 [diff] |
[NFC] [Serialization] Turn type alias LocalDeclID into class Previously, the LocalDeclID and GlobalDeclID are defined as: ``` using LocalDeclID = DeclID; using GlobalDeclID = DeclID; ``` This is more or less concerning that we may misuse LocalDeclID and GlobalDeclID without understanding it. There is also a FIXME saying this. This patch tries to turn LocalDeclID into a class to improve the type safety here. GitOrigin-RevId: b8e3b2ad66cf78ad2b7832577b1d58dc93c5da21