[all-commits] [llvm/llvm-project] 37eb39: Fix Android build failure in InferIntRangeCommon
RoboTux via All-commits
all-commits at lists.llvm.org
Thu Jun 20 02:54:33 PDT 2024
Branch: refs/heads/users/thopre01/avoid_std_function_ctad
Home: https://github.com/llvm/llvm-project
Commit: 37eb39861222c554bbd45adeeff4cb21011456c8
https://github.com/llvm/llvm-project/commit/37eb39861222c554bbd45adeeff4cb21011456c8
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
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.
Change-Id: I78517af440e8b8bcca62f5176e8e3aa437a0d314
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