File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 16
16
#include " index/Serialization.h"
17
17
#include " index/Symbol.h"
18
18
#include " index/SymbolCollector.h"
19
+ #include " clang/Tooling/ArgumentsAdjusters.h"
19
20
#include " clang/Tooling/CommonOptionsParser.h"
20
21
#include " clang/Tooling/Execution.h"
21
22
#include " clang/Tooling/Tooling.h"
@@ -110,7 +111,8 @@ int main(int argc, const char **argv) {
110
111
// Collect symbols found in each translation unit, merging as we go.
111
112
clang::clangd::IndexFileIn Data;
112
113
auto Err = Executor->get ()->execute (
113
- llvm::make_unique<clang::clangd::IndexActionFactory>(Data));
114
+ llvm::make_unique<clang::clangd::IndexActionFactory>(Data),
115
+ clang::tooling::getStripPluginsAdjuster ());
114
116
if (Err) {
115
117
llvm::errs () << llvm::toString (std::move (Err)) << " \n " ;
116
118
}
You can’t perform that action at this time.
0 commit comments