CODE: int foo(int);
OLD: TTT FFFTTTTT
NEW: TTT FFFFTTTF
This works around targeting issues when the cursor is between name and (
Paths
| Differential D71284
[clangd] Consider () part of the FunctionDecl, not the FunctionTypeLoc AbandonedPublic Authored by sammccall on Dec 10 2019, 9:33 AM.
Details
Summary CODE: int foo(int); This works around targeting issues when the cursor is between name and (
Diff Detail
Event TimelineComment Actions Build result: pass - 60682 tests passed, 0 failed and 726 were skipped. Log files: console-log.txt, CMakeCache.txt kadircet added inline comments. This revision is now accepted and ready to land.Dec 11 2019, 12:12 AM Comment Actions D71345 is a different approach that would solve this problem and others (at higher cost). This revision now requires review to proceed.Feb 23 2020, 5:45 AM
Revision Contents
Diff 233130 clang-tools-extra/clangd/Selection.cpp
clang-tools-extra/clangd/test/hover.test
clang-tools-extra/clangd/unittests/SelectionTests.cpp
clang-tools-extra/clangd/unittests/TweakTests.cpp
|
comment needs to be updated