[clang-tools-extra] [clangd] Show alignment for records and fields decls (PR #67213)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 23 03:44:42 PDT 2023
sr-tream wrote:
> I'm not an expert on ABI
I too. I use exists function `ASTContext::getTypeAlign` - it must work correctly, if other functions like `ASTContext::getTypeSizeInCharsIfKnown` return correct results, because `ASTContext::getTypeSizeInCharsIfKnown` returns size with paddings for align
https://github.com/llvm/llvm-project/pull/67213
More information about the cfe-commits
mailing list