This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Patch main file macros in preamble
ClosedPublic

Authored by kadircet on Mar 14 2023, 3:14 AM.

Diff Detail

Event Timeline

kadircet created this revision.Mar 14 2023, 3:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 3:14 AM
Herald added a subscriber: arphaman. · View Herald Transcript
kadircet requested review of this revision.Mar 14 2023, 3:14 AM
hokein accepted this revision.Mar 14 2023, 6:46 AM
hokein added a subscriber: hokein.
hokein added inline comments.
clang-tools-extra/clangd/Preamble.cpp
921

nit: maybe just return a const MainFileMacros&.

This revision is now accepted and ready to land.Mar 14 2023, 6:47 AM
kadircet updated this revision to Diff 505093.Mar 14 2023, 7:41 AM
kadircet marked an inline comment as done.
  • Rebase
  • Prevent unnecessary copies
This revision was automatically updated to reflect the committed changes.