vbvictor wrote:

> 1. Please place value check in ast matcher part, match all integer will cost 
> lots of cpu and ram to store temporary results.

Code in _clang-tools-extra\clang-tidy\bugprone\StringConstructorCheck.cpp_ 
maybe helpful since it shows work with numbers and have matcher `isBiggerThan`. 
Similar matcher I guess can be written for this check.


https://github.com/llvm/llvm-project/pull/127430
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to