[all-commits] [llvm/llvm-project] 053110: [clangd] Don't run clang-tidy AST traversal if the...

Sam McCall via All-commits all-commits at lists.llvm.org
Sun Nov 8 23:44:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 053110b22aa93b1f7bccdb0dae9dea7f755b045c
      https://github.com/llvm/llvm-project/commit/053110b22aa93b1f7bccdb0dae9dea7f755b045c
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M clang-tools-extra/clangd/ParsedAST.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list