HomePhabricator

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

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

Description

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

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

Differential Revision: https://reviews.llvm.org/D90975

Details