3 ms·
Clang-tidy only supports AST-based matchers, you get type resolution but you still can only match simple patterns that only need local reasoning. Infer does wh
by ot 3y ago
Clang-tidy only supports AST-based matchers, you get type resolution but you still can only match simple patterns that only need local reasoning.
Infer does whole-program analysis, so it can for example detect whether it is safe to move an object instead of copying it, because nothing touches it afterwards.