[PATCH] D130303: Handle template parameter-dependent bit field widths in libclang
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 8 05:11:59 PST 2023
aaron.ballman added a comment.
In D130303#4176330 <https://reviews.llvm.org/D130303#4176330>, @dexonsmith wrote:
> In D130303#4175664 <https://reviews.llvm.org/D130303#4175664>, @collinbaker wrote:
>
>> @dexonsmith can you weigh in?
>
> Introducing `clang_isBitFieldDecl` sounds like a clean/straightforward solution to me.
+1, that seems less mysterious than returning `-2` from `clang_getFieldDeclBitWidth()` to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130303/new/
https://reviews.llvm.org/D130303
More information about the cfe-commits
mailing list