[clangd] Switch Hover.All to structured tests
Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70911
This commit is contained in:
parent
24439a761c
commit
c5adbac9b8
|
|
@ -12,6 +12,7 @@
|
|||
#include "FormattedString.h"
|
||||
#include "ParsedAST.h"
|
||||
#include "Protocol.h"
|
||||
#include "clang/Index/IndexSymbol.h"
|
||||
|
||||
namespace clang {
|
||||
namespace clangd {
|
||||
|
|
@ -53,7 +54,7 @@ struct HoverInfo {
|
|||
/// Name of the symbol, does not contain any "::".
|
||||
std::string Name;
|
||||
llvm::Optional<Range> SymRange;
|
||||
index::SymbolKind Kind;
|
||||
index::SymbolKind Kind = index::SymbolKind::Unknown;
|
||||
std::string Documentation;
|
||||
/// Source code containing the definition of the symbol.
|
||||
std::string Definition;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue