[all-commits] [llvm/llvm-project] d9b264: [scudo] Avoid empty statement warnings

Roland McGrath via All-commits all-commits at lists.llvm.org
Wed Apr 21 12:39:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9b2641aa5f350f3aafcb61782ef372712159be9
      https://github.com/llvm/llvm-project/commit/d9b2641aa5f350f3aafcb61782ef372712159be9
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/internal_defs.h

  Log Message:
  -----------
  [scudo] Avoid empty statement warnings

An empty macro that expands to just `... else ;` can get
warnings from some compilers (e.g. GCC's -Wempty-body).

Reviewed By: cryptoad, vitalybuka

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




More information about the All-commits mailing list