summarylogtreecommitdiffstats
path: root/hover-no-defs.patch
blob: 5b37ac52328a16a09aa785911662f2089792cf9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/clang-tools-extra/clangd/Hover.cpp b/clang-tools-extra/clangd/Hover.cpp
index 8eac0e974..4d02c9128 100644
--- a/clang-tools-extra/clangd/Hover.cpp
+++ b/clang-tools-extra/clangd/Hover.cpp
@@ -667,7 +667,6 @@ HoverInfo getHoverContents(const NamedDecl *D, const PrintingPolicy &PP,
       HI.Value = toString(ECD->getInitVal(), 10);
   }
 
-  HI.Definition = printDefinition(D, PP, TB);
   return HI;
 }