diff options
author | William S. Moses <gh@wsmoses.com> | 2022-03-25 15:39:43 -0400 |
---|---|---|
committer | William S. Moses <gh@wsmoses.com> | 2022-03-25 16:32:12 -0400 |
commit | 89525cbf283f1ffeca1e007a06b29917a9eadc53 (patch) | |
tree | 7cbe5414d4f34258775a6493a4ad819aec80f337 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 6aa039775891b6eae81604bb851e72192f5a7462 (diff) | |
download | llvm-89525cbf283f1ffeca1e007a06b29917a9eadc53.zip llvm-89525cbf283f1ffeca1e007a06b29917a9eadc53.tar.gz llvm-89525cbf283f1ffeca1e007a06b29917a9eadc53.tar.bz2 |
[Clang] Add helper method to determine if a nonvirtual base has an entry in the LLVM struct
This patch adds a helper method to determine if a nonvirtual base has an entry in the LLVM struct. Such a base may not have an entry
if the base does not have any fields/bases itself that would change the size of the struct. This utility method is useful for other frontends (Polygeist) that use Clang as an API to generate code.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D122502
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions