Eugene.Zelenko added a comment. What about new operator? May be check should have option for custom allocators?
================ Comment at: clang-tools-extra/docs/ReleaseNotes.rst:207 +- New :doc:`bugprone-misplaced-pointer-arithmetic-in-alloc + <clang-tidy/checks/bugprone-misplaced-pointer-arithmetic-in-alloc>` check. ---------------- Please move to new checks list in alphabetical order. ================ Comment at: clang-tools-extra/docs/ReleaseNotes.rst:210 + + Finds cases where an integer expression is added to the result of a memory + allocation function instead of its argument. ---------------- Please synchronize with first statement in documentation. Repository: rCTE Clang Tools Extra CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71001/new/ https://reviews.llvm.org/D71001 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits