diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2023-07-28 11:46:36 -0700 |
|---|---|---|
| committer | Jan Svoboda <jan_svoboda@apple.com> | 2023-07-28 12:03:54 -0700 |
| commit | 8a077cfe23e3856d406bd3633e1a3026609f3537 (patch) | |
| tree | 128a56e8cc6e62aac2096612cef178b4370e3e71 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | 9016514c6bc34330b89dadfcd00e803a44b3cbc8 (diff) | |
[clang][deps] Make the C++ API more type-safe
Scanner's C++ API accepts a set of modular dependencies the client has already seen and for which it doesn't need the full details. This is currently a set of strings, which somewhat implies that it should contain the set of module names. However, scanner internally expects the values to be in the format "{hash}{name}". Besides not being documented, this is very unintuitive. This patch makes this expectation explicit by changing the type to set of `ModuleID`.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D156492
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
