zephyr/soc
Daniel Leung e38fc6de8a cmake: enable -Wshadow partially for in-tree code
This enables -Wshadow to warn about shadow variables on
in tree code under arch/, boards/, drivers/, kernel/,
lib/, soc/, and subsys/.

Note that this does not enable it globally because
out-of-tree modules will probably take some time to fix
(or not at all depending on the project), and it would be
great to avoid introduction of any new shadow variables
in the meantime.

Also note that this tries to be done in a minimally
invasive way so it is easy to revert when we enable
-Wshadow globally. Source files under modules/, samples/
and tests/ are currently excluded because there does not
seem to be a trivial way to add -Wshadow there without
going through all CMakeLists.txt to add the option
(as there are 1000+ files to change).

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-22 11:39:58 +02:00
..
arc ARC: add scalar VPX port 2023-08-11 19:45:48 +00:00
arm soc: arm: common: cortex_m: Move arm_mpu_mem_cfg.h 2023-08-16 14:56:06 +02:00
arm64 arch: arm64: Refine v8R AArch64 MPU regions switch 2023-08-21 13:27:07 +02:00
mips asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
nios2 linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
posix soc inf (native): Refactor into a top and bottom 2023-06-23 12:16:26 +02:00
riscv soc: riscv|xtensa: esp32: add support for sys_poweroff 2023-08-15 10:15:38 -07:00
sparc linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
x86 soc: ish: add pm service support for ish 2023-08-18 12:24:31 +01:00
xtensa esp32: rename shadow variables 2023-08-22 11:39:58 +02:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig nrf52_bsim: Convert from a nRF52832 to a nRF52833 2023-01-26 09:29:18 +01:00