v.g.vassilev added a comment. I agree with Raphael. If you need to have more fine grained control over the translation unit (TU) I think we can have suppressing false positives via comments (@Noq would know more).
Eg. // File.h defining moc_* yields a lot of false positives // alpha.clone.CloneChecker:Ignored: some_regex ... This would affect only the TU which include File.h. Repository: rL LLVM https://reviews.llvm.org/D31320 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits