This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Set correct CWD when using compile_flags.txt
ClosedPublic

Authored by adamcz on Jan 14 2021, 9:22 AM.

Details

Summary

This fixes a bug where clangd would attempt to set CWD to the
compile_flags.txt file itself.

Diff Detail

Event Timeline

adamcz created this revision.Jan 14 2021, 9:22 AM
adamcz requested review of this revision.Jan 14 2021, 9:22 AM
adamcz edited reviewers, added: kadircet; removed: sammccall.Jan 14 2021, 1:45 PM
sammccall accepted this revision.Jan 14 2021, 2:10 PM
sammccall added a subscriber: sammccall.

Yikes, thanks!

This revision is now accepted and ready to land.Jan 14 2021, 2:10 PM
This revision was automatically updated to reflect the committed changes.