Page MenuHomePhabricator

giulianobelinassi (Giuliano Belinassi)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 12 2022, 8:25 AM (33 w, 3 d)

Recent Activity

Wed, May 17

giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

I will update the patch with the suggestions and send them again.

Wed, May 17, 6:15 AM · Restricted Project, Restricted Project

Sat, May 13

giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

@aaron.ballman Ping

Sat, May 13, 1:09 PM · Restricted Project, Restricted Project

May 3 2023

giulianobelinassi updated the diff for D141714: Fix ast print of variables with attributes.

Incorporate some of Aron suggestions:

May 3 2023, 9:40 AM · Restricted Project, Restricted Project
giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

Hi. See inline answers. I will send the new version in a few minutes.

May 3 2023, 9:15 AM · Restricted Project, Restricted Project

Apr 17 2023

giulianobelinassi updated the diff for D141714: Fix ast print of variables with attributes.

Update patch with the agreements of last discussion.

Apr 17 2023, 5:19 PM · Restricted Project, Restricted Project

Mar 7 2023

giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

Just to make myself clear: What I need to do is that the clang dumps for C files are also accepted by GCC as input.

Mar 7 2023, 11:27 AM · Restricted Project, Restricted Project
giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

Hi, Alan. Thanks for your review again!

Mar 7 2023, 7:14 AM · Restricted Project, Restricted Project

Mar 3 2023

giulianobelinassi requested review of D145269: Dump functions attribute right before their return type.
Mar 3 2023, 12:47 PM · Restricted Project, Restricted Project

Mar 2 2023

giulianobelinassi updated the diff for D141714: Fix ast print of variables with attributes.

Update to dump attributes right after the type specification, also
fixing the __declspec case.

Mar 2 2023, 5:15 AM · Restricted Project, Restricted Project

Jan 24 2023

giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

The way Clang handles this is to mostly go back to the original source code (through the source manager and source location information) to grab what the user actually wrote. The pretty printing functionality loses information like whether something was expanded from a macro, etc and so, if the goal is to show what the user wrote, it's likely to be a really big uphill battle to get that through the pretty printer.

Jan 24 2023, 9:18 AM · Restricted Project, Restricted Project
giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

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.

Jan 24 2023, 7:27 AM · Restricted Project, Restricted Project
giulianobelinassi added a comment to D141714: Fix ast print of variables with attributes.

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?

Jan 24 2023, 7:22 AM · Restricted Project, Restricted Project

Jan 13 2023

giulianobelinassi requested review of D141714: Fix ast print of variables with attributes.
Jan 13 2023, 11:24 AM · Restricted Project, Restricted Project

Oct 12 2022

giulianobelinassi requested review of D135784: Add option to reparse an ASTUnit keeping its SourceManager.
Oct 12 2022, 8:38 AM · Restricted Project, Restricted Project