diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-23 13:16:06 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-23 16:56:14 +0800 |
commit | b8e3b2ad66cf78ad2b7832577b1d58dc93c5da21 (patch) | |
tree | 3d422a8f9fb397530cbe7a1cc7408b874502c9f0 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | c921ac724ff06997bab25715786c98d4926b0c0e (diff) | |
download | llvm-b8e3b2ad66cf78ad2b7832577b1d58dc93c5da21.zip llvm-b8e3b2ad66cf78ad2b7832577b1d58dc93c5da21.tar.gz llvm-b8e3b2ad66cf78ad2b7832577b1d58dc93c5da21.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions