Skip to content
Commit 8dc9d89d authored by Daniel Leung's avatar Daniel Leung Committed by Fabio Baltieri
Browse files

toolchain: introduce macros to ignore -Wshadow



This introduces two macros TOOLCHAIN_IGNORE_WSHADOW_BEGIN and
TOOLCHAIN_IGNORE_WSHADOW_END which can be used inside another
macro to ignore -Wshadow for certain block of code. This is
useful for common macros that may nest upon themselves
(for example, logging).

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent ca6adf13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment