[all-commits] [llvm/llvm-project] 93ce8e: Fix Android build failure in InferIntRangeCommon (...

RoboTux via All-commits all-commits at lists.llvm.org
Thu Jun 20 06:44:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93ce8e10870429695a6a1aa8f16446ec1b042445
      https://github.com/llvm/llvm-project/commit/93ce8e10870429695a6a1aa8f16446ec1b042445
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp

  Log Message:
  -----------
  Fix Android build failure in InferIntRangeCommon (#96154)

As of today, Android's libcxx is missing C++17's std::function's CTAD
added in e1eabcdfad89f67ae575b0c86aa4a72d277378b4. This leads to
InferIntRangeCommon.cpp to fail to compile. This commit makes the
template parameter of std::function in that function explicit, therefore
avoiding CTAD. While LLVM/MLIR's requirement is C++17, the rest of the
code builds fine so hopefully this is acceptable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list