[PATCH] D146028: [clangd] Patch main file macros in preamble
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 14 06:48:01 PDT 2023
hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/Preamble.cpp:942
MainFileMacros PreamblePatch::mainFileMacros() const {
if (PatchContents.empty())
----------------
nit: maybe just return a `const MainFileMacros&`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146028/new/
https://reviews.llvm.org/D146028
More information about the cfe-commits
mailing list