[all-commits] [llvm/llvm-project] 8088f5: [support] Fix PrintNumber Test on AIX

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Mar 23 10:49:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8088f5bf2dc051dc0828990b3df2a3299c9f0433
      https://github.com/llvm/llvm-project/commit/8088f5bf2dc051dc0828990b3df2a3299c9f0433
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M llvm/unittests/Support/ScopedPrinterTest.cpp

  Log Message:
  -----------
  [support] Fix PrintNumber Test on AIX

When fixing the test earlier, we missed the JSON case for NaN and INF,
so handle those the same as for non-JSON, by creating the string
dynamically.

Reviewed By: abhina.sreeskantharajan

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




More information about the All-commits mailing list