diff options
author | Martin Roth <martinroth@google.com> | 2016-01-31 10:34:13 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-09 21:51:46 +0100 |
commit | 662237614b125c4039288a06df7af2a32317a554 (patch) | |
tree | 4474f01ab98dca05ace3be2d98698c1a6253b58a /.clang-format | |
parent | 609bd9445ed1cc76496a9d65ad1d158904d3cf47 (diff) |
kconfig_lint: Check for IS_ENABLED used on symbols without CONFIG_
This looks at the coreboot codebase for the IS_ENABLED macro, and
gives an error if there is a symbol used without the CONFIG_ prefix.
This only works for symbols of type bool.
A future check will be added for all symbols, but that will take
a significant amount of time to run, because each symbol will need
to be searched for individually.
Change-Id: I92f2de2d231610d1a788da965f21966d89c2f25c
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13538
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions