From dad0864fa324d1df88242a978e9d7de383c5be68 Mon Sep 17 00:00:00 2001 From: John Drouhard Date: Sat, 8 Apr 2023 13:21:09 -0500 Subject: feat(cpp): improve function.call to support any level of nesting for qualified identifiers --- .../query/highlights/cpp/static-namespace-functions.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'tests/query/highlights/cpp') diff --git a/tests/query/highlights/cpp/static-namespace-functions.cpp b/tests/query/highlights/cpp/static-namespace-functions.cpp index 2bea488a3..3d16c43cf 100644 --- a/tests/query/highlights/cpp/static-namespace-functions.cpp +++ b/tests/query/highlights/cpp/static-namespace-functions.cpp @@ -1,12 +1,14 @@ // Issue #2396 -int main() -{ - B::foo(); +int main() +{ + B::foo(); // ^ @function.call - Foo::A::foo(); + Foo::A::foo(); // ^ @function.call - Foo::a::A::foo(); + Foo::a::A::foo(); // ^ @function.call - return 0; -} + Foo::a::A::B::foo(); + // ^ @function.call + return 0; +} -- cgit v1.2.3-70-g09d2