diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2023-03-17 10:33:07 +0100 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2023-03-23 11:59:11 +0100 |
commit | 002c4b7b955b1fc8825b4d6b46bb079390bce812 (patch) | |
tree | c3bab2671de3d87df2835ea8785cec6668250002 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 48f97e5751372b4a64144605c5e9f7e5e13e382a (diff) | |
download | llvm-002c4b7b955b1fc8825b4d6b46bb079390bce812.zip llvm-002c4b7b955b1fc8825b4d6b46bb079390bce812.tar.gz llvm-002c4b7b955b1fc8825b4d6b46bb079390bce812.tar.bz2 |
[clangd] Extend CollectMainFileMacros.
Extend the existing MainFileMacros structure:
- record more information (InConditionalDirective) in MacroOccurrence
- collect macro references inside macro body (fix a long-time FIXME)
So that the MainFileMacros preseve enough information, which allows a
just-in-time convertion to interop with include-cleaner::Macro for
include-cleaer features.
See the context in https://reviews.llvm.org/D146017.
Differential Revision: https://reviews.llvm.org/D146279
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions