[PATCH] D137894: [clangd] Add extension for adding context (enclosing function or class) in references results
Tom Praschan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 18 05:35:28 PST 2022
tom-anders added inline comments.
================
Comment at: clang-tools-extra/clangd/unittests/XRefsTests.cpp:1939
int main() {
- int $def[[foo]];
- [[^foo]] = 2;
- int test1 = [[foo]];
+ int $def(main)[[foo]];
+ $(main)[[^foo]] = 2;
----------------
@nridge See https://reviews.llvm.org/D137909 for this new syntax
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137894/new/
https://reviews.llvm.org/D137894
More information about the cfe-commits
mailing list