diff options
author | David Olsen <dolsen@nvidia.com> | 2025-02-25 13:44:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 13:44:24 -0800 |
commit | ad94af973a76ecaa3e6a85304a4abe8130e88bdb (patch) | |
tree | 0a76d00c7f022333246123ab1e47a65f0662a252 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2646c36a864aa6a62bc1280e9a8cd2bcd2695349 (diff) | |
download | llvm-ad94af973a76ecaa3e6a85304a4abe8130e88bdb.zip llvm-ad94af973a76ecaa3e6a85304a4abe8130e88bdb.tar.gz llvm-ad94af973a76ecaa3e6a85304a4abe8130e88bdb.tar.bz2 |
[CIR] React to breaking change to DataLayoutTypeInterface (#128772)
In #128754, `DataLayoutTypeInterface` was changed to give
`getPreferredAlignment` a default implemention. As a result, table-gen
no longer declared `getPreferredAlignment` when defining a class that
contained `[DeclareTypeInterfaceMethods<DataLayoutTypeInterface>]` in
the table-gen definition. That means all of the definitions in
`CIRTypes.cpp`, such as `PointerType::getPreferredAligment`, were
compilation errors.
Delete all the definitions of `getPreferredAlignment`. I verified that
the default implementation does the exact same thing as the explicit
overrides that are being deleted.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions