[PATCH] D31320: [analyzer] Teach CloneDetection about Qt Meta-Object Compiler
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 15 03:13:25 PDT 2017
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
More information about the cfe-commits
mailing list