[PATCH] D22346: [Clang-tidy] CERT-MSC50-CPP (std:rand() )
Piotr Padlewski via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 14 11:59:56 PDT 2016
Prazek added inline comments.
Comment at: clang-tidy/cert/LimitedRandomnessCheck.cpp:22-23
@@ +21,4 @@
> This should be looking at a callExpr() rather than a declRefExpr(), should it not?
I was also thinking about this, but this is actually better, because it will also match with binding rand with function pointer.
More information about the cfe-commits