pantry/projects/soliditylang.org/clang-error.diff

13 lines
679 B
Diff
Raw Normal View History

diff --color=auto -ru a/libsolidity/lsp/DocumentHoverHandler.cpp b/libsolidity/lsp/DocumentHoverHandler.cpp
--- a/libsolidity/lsp/DocumentHoverHandler.cpp 2023-02-01 17:33:07
+++ b/libsolidity/lsp/DocumentHoverHandler.cpp 2023-02-01 17:32:26
@@ -63,7 +63,7 @@
auto const [sourceUnitName, lineColumn] = HandlerBase(*this).extractSourceUnitNameAndLineColumn(_args);
auto const [sourceNode, sourceOffset] = m_server.astNodeAndOffsetAtSourceLocation(sourceUnitName, lineColumn);
- MarkdownBuilder markdown{};
+ MarkdownBuilder markdown;
auto rangeToHighlight = toRange(sourceNode->location());
// Try getting the type definition of the underlying AST node, if available.