This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Include compile command inference in fileStatus API
AcceptedPublic

Authored by sammccall on Apr 5 2019, 9:03 AM.

Details

Reviewers
hokein

Event Timeline

sammccall created this revision.Apr 5 2019, 9:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2019, 9:03 AM
hokein accepted this revision.Apr 8 2019, 2:39 AM
hokein added inline comments.
clangd/GlobalCompilationDatabase.cpp
70

default flags seems not quite clear to me, maybe use fallback compile command for unknown file?

This revision is now accepted and ready to land.Apr 8 2019, 2:39 AM

What about surfacing compile command itself as well? IMO, it is an important information that we always extract from logs by digging currently.