[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:30:35 PDT 2023


https://github.com/zyn0217 commented:

Thanks! This looks nice, but I think it's better to have more opinions from others.

Moreover, I have a question regarding the test: It seems the alignment for a field depends on the ABI spec, i.e., it could be different across MS ABI and Itanium ABI. Is that number *stable* for fundamental (or POD/trivial type) on most platforms? (I'm not an expert on ABI, so please correct me if I'm wrong.)

https://github.com/llvm/llvm-project/pull/67213


More information about the cfe-commits mailing list