[all-commits] [llvm/llvm-project] 4bef7a: [libc++][PowerPC] Fix a test case failure when com...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Aug 20 10:24:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bef7a8ff169d6f9a0a253105576ac8a68430702
      https://github.com/llvm/llvm-project/commit/4bef7a8ff169d6f9a0a253105576ac8a68430702
  Author: Albion Fung <albion.fung at ibm.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp

  Log Message:
  -----------
  [libc++][PowerPC] Fix a test case failure when compiled with libcxx

The test case is not ran unless libcxx is used, and a macro
may be undefined. This patch checks for the definition of the
macro before using it.

Fixes http://llvm.org/PR51430

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




More information about the All-commits mailing list