[all-commits] [llvm/llvm-project] f1b924: tsan: fix GCC warnings

Martin Liška via All-commits all-commits at lists.llvm.org
Wed May 4 01:23:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1b9245199f3457a4d06d32d1bc6e44573c166e3
      https://github.com/llvm/llvm-project/commit/f1b9245199f3457a4d06d32d1bc6e44573c166e3
  Author: Martin Liska <mliska at suse.cz>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_shadow.h

  Log Message:
  -----------
  tsan: fix GCC warnings

Fixes:

tsan/tsan_shadow.h:93:32: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
tsan/tsan_shadow.h:94:44: warning: enumerated and non-enumerated type in conditional expression [-Wextra]

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




More information about the All-commits mailing list