diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2019-10-25 18:40:01 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2019-10-25 18:40:01 +0200 |
commit | 8e567b0730fa55d15e6c0ab20b0352d85e96b7bb (patch) | |
tree | 2cb7fdcff8ef978edaed55733d27c455caa15fc3 /clang-tools-extra/clangd/refactor/Tweak.h | |
parent | b85b4e5a6f8579c137fecb59a4d75d7bfb111f79 (diff) | |
download | bcm5719-llvm-8e567b0730fa55d15e6c0ab20b0352d85e96b7bb.tar.gz bcm5719-llvm-8e567b0730fa55d15e6c0ab20b0352d85e96b7bb.zip |
[clangd] Revert define-inline action changes to un-break windows build-bots
Diffstat (limited to 'clang-tools-extra/clangd/refactor/Tweak.h')
-rw-r--r-- | clang-tools-extra/clangd/refactor/Tweak.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clang-tools-extra/clangd/refactor/Tweak.h b/clang-tools-extra/clangd/refactor/Tweak.h index de655abd98c..42b7fb0684e 100644 --- a/clang-tools-extra/clangd/refactor/Tweak.h +++ b/clang-tools-extra/clangd/refactor/Tweak.h @@ -24,7 +24,6 @@ #include "Protocol.h" #include "Selection.h" #include "SourceCode.h" -#include "index/Index.h" #include "clang/Tooling/Core/Replacement.h" #include "llvm/ADT/Optional.h" #include "llvm/ADT/StringMap.h" @@ -47,12 +46,9 @@ class Tweak { public: /// Input to prepare and apply tweaks. struct Selection { - Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin, - unsigned RangeEnd); + Selection(ParsedAST &AST, unsigned RangeBegin, unsigned RangeEnd); /// The text of the active document. llvm::StringRef Code; - /// The Index for handling codebase related queries. - const SymbolIndex *Index = nullptr; /// Parsed AST of the active file. ParsedAST &AST; /// A location of the cursor in the editor. |