commit | 601b2b20efde1ce4f974c97b6f2f9187f1af7f27 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Wed Feb 23 07:24:01 2022 -0800 |
committer | Maureen Helm <maureen.helm@intel.com> | Thu Feb 24 08:35:22 2022 -0600 |
tree | 4e5a9e1b6000c5dd64ab6d8837d27dbe5104be17 | |
parent | c5afc2e1f2a22f9167bd7b5894f441699bd2abe1 [diff] |
llvm: add __fallthrough macro for Clang LLVM defines __GNUC__ to 4 so the __fallthrough is nothing through include/toolchain/gcc.h. So add a few lines for a functional __fallthrough macro for LLVM. The fallthrough attribute is supported since Clang 10. Signed-off-by: Daniel Leung <daniel.leung@intel.com>