[all-commits] [llvm/llvm-project] ad46aa: [clangd] Add beforeExecute() callback to FeatureMo...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Thu Apr 21 09:05:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad46aaede6e4d5a6951fc9827da994d3fbe1af44
      https://github.com/llvm/llvm-project/commit/ad46aaede6e4d5a6951fc9827da994d3fbe1af44
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M clang-tools-extra/clangd/FeatureModule.h
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/Preamble.cpp
    M clang-tools-extra/clangd/unittests/FeatureModulesTests.cpp

  Log Message:
  -----------
  [clangd] Add beforeExecute() callback to FeatureModules.

It runs immediatelly before FrontendAction::Execute() with a mutable
CompilerInstance, allowing FeatureModules to register callbacks, remap
files, etc.

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




More information about the All-commits mailing list