Only accessible via the C++ API at the moment.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
| clangd/Protocol.h | ||
|---|---|---|
| 832 | As noted offline, I misread this as being *inside* the paren - could maybe be more explicit? Position of the start of the argument list, including opening paren. e.g.
foo("first arg",
^argListStart ^cursor | |
| unittests/clangd/CodeCompleteTests.cpp | ||
| 914 | Hmm, I think this test would be easier to follow if tests 1-5 were written separately - it's hard to spot all the locations and how the code interacts. As a bonus, no need to mess around with explicit positions and the failure message can just echo the test: for (const char* Test : {
R"cpp(
int foo(int a, b, c);
int main() { foo(foo$p^(foo(10, 10, 10), ^); }
)cpp",
...
}) {
EXPECT_EQ(signatures(Test).argListStart, Annotations(Test).point("p")) << Test;
} | |
| unittests/clangd/CodeCompleteTests.cpp | ||
|---|---|---|
| 914 | Thanks! It's way better this way! | |
As noted offline, I misread this as being *inside* the paren - could maybe be more explicit?
Position of the start of the argument list, including opening paren. e.g. foo("first arg", ^argListStart ^cursor