[PATCH] D97043: [clang][DeclPrinter] Pass Context into StmtPrinter whenever possible
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 19 04:18:41 PST 2021
kadircet added inline comments.
================
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;
----------------
not sure if this is a regression or not, as in theory we print the definition as written.
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