We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24439a7 commit c5adbacCopy full SHA for c5adbac
clang-tools-extra/clangd/Hover.h
@@ -12,6 +12,7 @@
12
#include "FormattedString.h"
13
#include "ParsedAST.h"
14
#include "Protocol.h"
15
+#include "clang/Index/IndexSymbol.h"
16
17
namespace clang {
18
namespace clangd {
@@ -53,7 +54,7 @@ struct HoverInfo {
53
54
/// Name of the symbol, does not contain any "::".
55
std::string Name;
56
llvm::Optional<Range> SymRange;
- index::SymbolKind Kind;
57
+ index::SymbolKind Kind = index::SymbolKind::Unknown;
58
std::string Documentation;
59
/// Source code containing the definition of the symbol.
60
std::string Definition;
0 commit comments