[all-commits] [llvm/llvm-project] dd46a0: Move the isSelfContainedHeader function from clang...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Nov 14 00:41:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd46a08008f76d6ac9fcc6a9e748b113bea3c758
      https://github.com/llvm/llvm-project/commit/dd46a08008f76d6ac9fcc6a9e748b113bea3c758
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M clang-tools-extra/clangd/Headers.cpp
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang-tools-extra/clangd/SourceCode.h
    M clang-tools-extra/clangd/index/SymbolCollector.cpp
    A clang/include/clang/Tooling/Inclusions/HeaderAnalysis.h
    M clang/lib/Tooling/Inclusions/CMakeLists.txt
    A clang/lib/Tooling/Inclusions/HeaderAnalysis.cpp
    M clang/unittests/Tooling/CMakeLists.txt
    A clang/unittests/Tooling/HeaderAnalysisTest.cpp

  Log Message:
  -----------
  Move the isSelfContainedHeader function from clangd to libtooling.

We plan to reuse it in the include-cleaner library, this patch moves
this functionality from clangd to libtooling, so that this piece of code can be
shared among all clang tools.

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




More information about the All-commits mailing list