[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:
Kadir Cetinkaya 2019-12-02 19:34:03 +01:00
parent 24439a761c
commit c5adbac9b8
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
2 changed files with 483 additions and 425 deletions

View File

@ -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