This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Make it possible to use VFS from parsing for getting tidy options
ClosedPublic

Authored by ilya-biryukov on May 20 2019, 8:06 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

ilya-biryukov created this revision.May 20 2019, 8:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2019, 8:06 AM
sammccall accepted this revision.May 20 2019, 9:37 AM

This seems fine:

  • please give this function<> type a name - maybe ClangTidyOptionsBuilder or so?
  • while we're defining this, we should make it threadsafe because that's what we really want
  • document that it's threadsafe and approximately why we don't use ClangTidyOptionsProvider
This revision is now accepted and ready to land.May 20 2019, 9:37 AM
  • Add a typedef for function
  • Make the provider thread-safe
  • Fix another typo
Harbormaster completed remote builds in B32168: Diff 200330.
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2019, 10:28 AM