This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Support include-fixer inside macro arguments.
ClosedPublic

Authored by sammccall on Feb 26 2022, 9:35 AM.

Details

Summary

Motivating case: EXPECT_EQ(42, missingFunction(bar));

Diff Detail

Event Timeline

sammccall created this revision.Feb 26 2022, 9:35 AM
sammccall requested review of this revision.Feb 26 2022, 9:35 AM
adamcz accepted this revision.Mar 1 2022, 8:19 AM
This revision is now accepted and ready to land.Mar 1 2022, 8:19 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2022, 9:23 AM
thakis added a subscriber: thakis.Mar 23 2022, 9:58 AM

This breaks tests on windows: http://45.33.8.238/win/54910/step_9.txt

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

This breaks tests on windows: http://45.33.8.238/win/54910/step_9.txt

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

Thanks, forced the test to pass in 31dc248ffc3cbf9ea6d11819b6b7b731b414b352.

The actual feature doesn't work on windows, and I'm not sure why (other than it's something under -fms-compatibility)