This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add missing field to VisibilityAttr json AST dump
ClosedPublic

Authored by serge-sans-paille on Aug 13 2023, 12:19 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 12:19 AM
serge-sans-paille requested review of this revision.Aug 13 2023, 12:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 12:19 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Fix typo in example

This revision is now accepted and ready to land.Aug 14 2023, 8:15 AM
This revision was landed with ongoing or failed builds.Aug 14 2023, 2:01 PM
This revision was automatically updated to reflect the committed changes.
dyung added a subscriber: dyung.Aug 14 2023, 3:17 PM

Hi @serge-sans-paille, your change is causing the test you modified, clang/test/AST/ast-dump-attr-json.cpp to fail. Can you take a look?

https://lab.llvm.org/buildbot/#/builders/139/builds/47461
https://lab.llvm.org/buildbot/#/builders/109/builds/71264

thakis added a subscriber: thakis.Aug 14 2023, 5:33 PM

Hello, one of the many dump commits broke tests on macOS: http://45.33.8.238/macm1/67030/step_7.txt

Please take a look and revert for now if it takes a while to fix.

Also, consider spreading out commits a bit so that if one breaks something, it's easily to see which one it was.

Hello, one of the many dump commits broke tests on macOS: http://45.33.8.238/macm1/67030/step_7.txt

Please take a look and revert for now if it takes a while to fix.

Also, consider spreading out commits a bit so that if one breaks something, it's easily to see which one it was.

Turns out the failure is from D157775. Tests have been broken on mac for over 13 hours now. Could you please take a look?

I'll revert D157775 and follow-ups causing conflicts if it's still broken in another 2h.

hans added a subscriber: hans.Aug 15 2023, 8:06 AM

Since reverting seems non-trivial, I added a triple in https://github.com/llvm/llvm-project/commit/7a1735cd05c2bc0c336f122f01fb35de66e85e16 which I believe should fix the test.

We also had a failure looking for the mangled name on Windows on Arm: https://lab.llvm.org/buildbot/#/builders/65/builds/10954

The triple fix may take care of that too.

Also, consider spreading out commits a bit so that if one breaks something, it's easily to see which one it was.

Definitely.

Another option for dependent patches that must go in together is to add [1/N] so we know it's essentially one large change, and can revert accordingly.