Including do, for, and while, in addition to the previously
handled fields. The unit test explicitly uses methods, but this code
path handles both fields and methods.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a bit annoying - generally speaking, we should parse all keywords in declaration locations as simple names. However UnwrappedLineParser isn't really structured to support that, nor is it precise enough to reliably detect these situations :-/ So I think the best we can do is incrementally detect these issues and fix as they come up.