[PATCH] D141714: Fix ast print of variables with attributes
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 07:24:49 PST 2023
aaron.ballman added a comment.
In D141714#4077199 <https://reviews.llvm.org/D141714#4077199>, @giulianobelinassi wrote:
> In D141714#4077150 <https://reviews.llvm.org/D141714#4077150>, @aaron.ballman wrote:
>
>> Thank you for the fix!
>>
>> It looks like precommit CI found a related failure that needs to be addressed: https://buildkite.com/llvm-project/premerge-checks/builds/130589#0185ac99-1158-46b3-b6d1-52fcf5310a59
>>
>> Can you also add a release note about the fix as well?
>
> Thank you for your review!
>
> I will update this patch once I get spare cycles to this. There is also an additonal case regarding __declspec and K&R functions that needs to be addressed as well in this patch which it currently doesn't do.
You don't have to worry about the additional cases (unless you want to, but then they can be handled in separate patches); ast pretty printing is wrong, broken, and totally incorrect in a whole lot of places; we maintain it as a best effort as a debugging aid.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141714/new/
https://reviews.llvm.org/D141714
More information about the cfe-commits
mailing list