[all-commits] [llvm/llvm-project] a44a87: sanitizer_common: add FALLTHROUGH macro

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Aug 10 11:04:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a44a873e11de99a6e31609f8f6075e0c46eb7006
      https://github.com/llvm/llvm-project/commit/a44a873e11de99a6e31609f8f6075e0c46eb7006
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h

  Log Message:
  -----------
  sanitizer_common: add FALLTHROUGH macro

Add FALLTHROUGH portably defined to [[clang::fallthrough]].
We have -Wimplicit-fallthrough already enabled, and currently
it's not possible to fix the warning.

Depends on D107735.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107736




More information about the All-commits mailing list