summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-12-19 15:24:25 +0100
committerElyes Haouas <ehaouas@noos.fr>2022-12-20 14:45:09 +0000
commita36f4f5fc63a245c1d00783928873667f19bd9ba (patch)
tree92a10a0fbc770ee5f0956611aa1aa01c8b3cc8f0 /tests
parent17a9849010c522a9dc41eb250102735633bf5e12 (diff)
doc/contributing/coding_style: change example to use __fallthrough
While the fall through comment is sufficient for gcc to notice that the fall-through is intentional, clang requires a special attribute which also works for gcc. Update the documentation to use this attribute instead of the comment. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I08dbac8ff1f9e04770a03fb74fabf0d397b50989 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71102 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions