[all-commits] [llvm/llvm-project] e3c609: [clangd] IncludeCleaner: Support macros

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Wed Oct 27 01:35:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3c6090e597685c23e9d2aac27d45c5a35b2f9bd
      https://github.com/llvm/llvm-project/commit/e3c6090e597685c23e9d2aac27d45c5a35b2f9bd
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/IncludeCleaner.h
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp

  Log Message:
  -----------
  [clangd] IncludeCleaner: Support macros

Collect the macro definition locations for all the macros used in the main
file.

Reviewed By: sammccall

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




More information about the All-commits mailing list