We need this desperately in clang-tidy. There's currently no way to
easily avoid matches of typeLocs in implicit code.
Details
Details
- Reviewers
djasper
Diff Detail
Diff Detail
Event Timeline
Comment Actions
IIRC, Manuel expressed a concern offline that adding another way to configure matchers would make matchers more difficult to develop and use and will also add more complexities wrt dynamic matchers and tools like clang_query. I may be wrong or missing something, so it would be nice if Manuel answered himself. I remember us talking about different alternatives, but don't recall any idea that would work well with memoization etc.
One of the problems I was going to solve with this is avoid matching of typelocs, variables and expressions generated from range-based for loop and implicit assignment operators.