[all-commits] [llvm/llvm-project] 6fd6cf: scudo: Replace a couple of macros with their expan...

pcc via All-commits all-commits at lists.llvm.org
Wed Nov 27 10:12:47 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fd6cfdf72f9236520ac642e74cdb93d87532955
      https://github.com/llvm/llvm-project/commit/6fd6cfdf72f9236520ac642e74cdb93d87532955
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/atomic_helpers.h
    M compiler-rt/lib/scudo/standalone/checksum.h
    M compiler-rt/lib/scudo/standalone/chunk.h
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/common.h
    M compiler-rt/lib/scudo/standalone/flags_parser.cpp
    M compiler-rt/lib/scudo/standalone/fuchsia.cpp
    M compiler-rt/lib/scudo/standalone/internal_defs.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/quarantine.h
    M compiler-rt/lib/scudo/standalone/report.cpp
    M compiler-rt/lib/scudo/standalone/secondary.h
    M compiler-rt/lib/scudo/standalone/size_class_map.h
    M compiler-rt/lib/scudo/standalone/tsd.h
    M compiler-rt/lib/scudo/standalone/wrappers_c_checks.h

  Log Message:
  -----------
  scudo: Replace a couple of macros with their expansions.

The macros INLINE and COMPILER_CHECK always expand to the same thing (inline
and static_assert respectively). Both expansions are standards compliant C++
and are used consistently in the rest of LLVM, so let's improve consistency
with the rest of LLVM by replacing them with the expansions.

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




More information about the All-commits mailing list