================ @@ -0,0 +1,20 @@ +.. title:: clang-tidy - bugprone-default-operator-new-on-overaligned-type + +bugprone-default-operator-new-on-overaligned-type +================================================= + +Flags uses of default ``operator new`` where the type has extended +alignment (an alignment greater than the fundamental alignment). + +The default ``operator new`` is guaranteed to provide the correct alignment if the +requested alignment is less or equal to the fundamental alignment. ---------------- vbvictor wrote:
```suggestion The default ``operator new`` is guaranteed to provide the correct alignment if the requested alignment is less or equal to the fundamental alignment. ``` https://github.com/llvm/llvm-project/pull/165542 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
