[PATCH] D124176: [clangd] Add beforeExecute() callback to FeatureModules.

Adam Czachorowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 21 07:29:57 PDT 2022


adamcz created this revision.
adamcz added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman.
Herald added a project: All.
adamcz requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124176

Files:
  clang-tools-extra/clangd/FeatureModule.h
  clang-tools-extra/clangd/ParsedAST.cpp
  clang-tools-extra/clangd/Preamble.cpp
  clang-tools-extra/clangd/unittests/FeatureModulesTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124176.424201.patch
Type: text/x-patch
Size: 5215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220421/1e171486/attachment-0001.bin>


More information about the cfe-commits mailing list