diff options
author | Alex Zinenko <zinenko@google.com> | 2020-12-22 11:22:56 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-12-23 13:12:47 +0100 |
commit | 7ed9cfc7b19fdba9eb441ce1a8ba82cda14d76a8 (patch) | |
tree | 026eda11fc2590c7f2d0e8e0f5a3f7b67f2c1ac0 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | eb9483b21053656b885f13ccfe41bfa76eb3df45 (diff) | |
download | llvm-7ed9cfc7b19fdba9eb441ce1a8ba82cda14d76a8.zip llvm-7ed9cfc7b19fdba9eb441ce1a8ba82cda14d76a8.tar.gz llvm-7ed9cfc7b19fdba9eb441ce1a8ba82cda14d76a8.tar.bz2 |
[mlir] Remove static constructors from LLVMType
LLVMType contains numerous static constructors that were initially introduced
for API compatibility with LLVM. Most of these merely forward to arguments to
`SpecificType::get` (MLIR defines classes for all types, unlike LLVM IR), while
some introduce subtle semantics differences due to different modeling of MLIR
types (e.g., structs are not auto-renamed in case of conflicts). Furthermore,
these constructors don't match MLIR idioms and actively prevent us from making
the LLVM dialect type system more open. Remove them and use `SpecificType::get`
instead.
Depends On D93680
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D93681
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions