This is important especially for code that tries to traverse scopes as
written in code, which is the contract SelectionTree tries to satisfy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang-tools-extra/clangd/Selection.cpp | ||
|---|---|---|
| 893 | Maybe insert the word "lexical" into the doc comment for this function | |
| clang-tools-extra/clangd/unittests/SelectionTests.cpp | ||
| 742 | Nit: call the case DeclContextIsLexical to make the point clearer? | |
| 751 | I'd probably use makeSelectionTree(Test.code(), AST) for brevity and only test the #2 case, but up to you | |
| clang-tools-extra/clangd/unittests/SelectionTests.cpp | ||
|---|---|---|
| 751 | i'd rather keep both, just to make sure we are not accidentally regressing the other case. | |
Maybe insert the word "lexical" into the doc comment for this function