[PATCH] D97043: [clang][DeclPrinter] Pass Context into StmtPrinter whenever possible
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 22 13:19:17 PST 2021
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/unittests/HoverTests.cpp:526
HI.Name = "result";
- HI.Definition = "static constexpr int result = 1 + 2";
+ HI.Definition = "static constexpr int result = a + b";
HI.Kind = index::SymbolKind::StaticProperty;
----------------
kadircet wrote:
> not sure if this is a regression or not, as in theory we print the definition as written.
this looks fine to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97043/new/
https://reviews.llvm.org/D97043
More information about the cfe-commits
mailing list