zephyr/subsys/cpp
Piotr Pryga 9f56e3d8a5 cpp: Add C++20 [[nodiscard]] attribute to operator new
C++20 standard added [[nodiscard]] attribute to operator new
definitions. In case value returned by operator new is ignored,
compiler emits a warning.

The commit adds the attribute to operator new definitions.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-10-03 10:13:25 +02:00
..
include cpp: Add spec of new operator with alignment request 2022-10-03 10:13:25 +02:00
CMakeLists.txt
cpp_ctors.c linker: ensure global constructors only run once 2022-06-09 11:33:36 +02:00
cpp_dtors.c
cpp_init_array.c linker: ensure global constructors only run once 2022-06-09 11:33:36 +02:00
cpp_init.c
cpp_new.cpp cpp: Add C++20 [[nodiscard]] attribute to operator new 2022-10-03 10:13:25 +02:00
cpp_virtual.c
cpp_vtable.cpp
Kconfig