This is an archive of the discontinued LLVM Phabricator instance.

[Tooling] Remove file/command enumeration from CompilationDatabase.
Needs ReviewPublic

Authored by sammccall on Nov 24 2017, 6:28 AM.

Details

Reviewers
bkramer
Summary

In practice, these methods aren't used, and several databases don't
implement them.
They remain in libclang as a stub for binary compatibility.
c-index-tests are modified not to rely on them.

Event Timeline

sammccall created this revision.Nov 24 2017, 6:28 AM
bkramer edited edge metadata.Nov 27 2017, 4:32 AM

There are a few users of the C++ API out there, do we have migration path for them?

There are a few users of the C++ API out there, do we have migration path for them?

Do we have any idea what these look like?
One option would be to keep the functionality on the JSONCompilationDatabase implementation (which properly supports it), and remove it from the interface.