We need it in clangd for refactoring that replaces ASTUnit
with manual AST management.
Details
Details
- Reviewers
akyrtzi benlangmuir arphaman klimek - Commits
- rG00f5f2953596: [index] Added a method indexTopLevelDecls to run indexing on a list of Decls.
rC308016: [index] Added a method indexTopLevelDecls to run indexing on a list of Decls.
rL308016: [index] Added a method indexTopLevelDecls to run indexing on a list of Decls.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Nice, I will need something like this for the refactoring stress test tool in the future that verifies that the indexer and renaming engine have a similar view of the code.
include/clang/Index/IndexingAction.h | ||
---|---|---|
21 ↗ | (On Diff #106595) | Please arrange the added declarations so that the whole list is in ordered alphabetically. |
lib/Index/IndexingAction.cpp | ||
181 ↗ | (On Diff #106595) | clang-format? |
lib/Index/IndexingAction.cpp | ||
---|---|---|
181 ↗ | (On Diff #106595) | Sorry, didn't rerun it after a rename of the method. Fixed now. |