When the initializer of an auto variable is dependent, clang doesn't give the
DeclRefExpr a useful dependent type that we can apply heuristics to.
However we can dig one up by looking at the initializer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/CodeCompletion/member-access.cpp | ||
---|---|---|
121 | It feels horrible that we have to update all following line numbers whenever we add a new test, no action required here (we can always append a new test, but then tests are not grouped properly) |
clang/test/CodeCompletion/member-access.cpp | ||
---|---|---|
121 | +1, I would also love to a syntax like $L-5 or {{L-5}} for this in FileCheck. Something short and easy to read. |
It feels horrible that we have to update all following line numbers whenever we add a new test, no action required here (we can always append a new test, but then tests are not grouped properly)