diff options
Diffstat (limited to 'src/plugins/clangcodemodel/clangrefactoringengine.cpp')
| -rw-r--r-- | src/plugins/clangcodemodel/clangrefactoringengine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/clangcodemodel/clangrefactoringengine.cpp b/src/plugins/clangcodemodel/clangrefactoringengine.cpp index 0328bc89ba..dc0e06899f 100644 --- a/src/plugins/clangcodemodel/clangrefactoringengine.cpp +++ b/src/plugins/clangcodemodel/clangrefactoringengine.cpp @@ -97,11 +97,9 @@ void RefactoringEngine::findUsages(const CppTools::CursorInEditor &cursor, ->findUsages(cursor, std::move(callback)); return; } - // TODO: We want to keep our "access type info" feature. - // Check whether we can support it using clang 12's textDocument/ast request if (!client->documentOpen(cursor.textDocument())) client->openDocument(cursor.textDocument()); // TODO: Just a workaround - client->symbolSupport().findUsages(cursor.textDocument(), cursor.cursor()); + client->findUsages(cursor.textDocument(), cursor.cursor()); } } // namespace Internal |
