This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Don't run clang-tidy AST traversal if there are no checks.
ClosedPublic

Authored by sammccall on Nov 6 2020, 2:39 PM.

Details

Summary

While here, clean up ParsedAST::build a bit:

  • remove FIXMEs that were fixed long ago by ReplayPreamble
  • remove redundant if, ClangTidyContext is not actually optional

Diff Detail

Event Timeline

sammccall created this revision.Nov 6 2020, 2:39 PM
sammccall requested review of this revision.Nov 6 2020, 2:39 PM
njames93 accepted this revision.Nov 7 2020, 6:30 AM

LGTM

This revision is now accepted and ready to land.Nov 7 2020, 6:30 AM