aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Olsen <dolsen@nvidia.com>2025-02-25 13:44:24 -0800
committerGitHub <noreply@github.com>2025-02-25 13:44:24 -0800
commitad94af973a76ecaa3e6a85304a4abe8130e88bdb (patch)
tree0a76d00c7f022333246123ab1e47a65f0662a252 /clang/lib/CodeGen/CodeGenModule.cpp
parent2646c36a864aa6a62bc1280e9a8cd2bcd2695349 (diff)
downloadllvm-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