[clang] Add isTrivial() and isTriviallyCopyable() AST matchers (PR #90634)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 04:59:33 PDT 2024


AaronBallman wrote:

Thanks for the details! I'd say let's hold off on adding these matchers; if you have a check that needs them, then you could look through clang-tidy to see if other checks have also added a local matcher for the same thing, and if there's two or more matchers needing it, then we'll add it as a global matcher.

As for the check itself, that looks like an interesting one!

https://github.com/llvm/llvm-project/pull/90634


More information about the cfe-commits mailing list