[PATCH] D41363: [clang-tidy] Adding Fuchsia checker for overloaded operators

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 21 15:37:34 PST 2017


juliehockett added a comment.

> Are the Fuchsia library headers intended to also comply with this rule? I notice there's mention of a unique_ptr class, and I can't imagine that working without overloading more operators than just assignment. Perhaps this check should not be triggered for system headers?

It would make sense for it to be run on the system headers when clang-tidy's -system-headers flag is included, otherwise not -- does that logic need to go into the checker though?


https://reviews.llvm.org/D41363





More information about the cfe-commits mailing list