[Mlir-commits] [libcxxabi] [flang] [llvm] [libc] [libunwind] [clang-tools-extra] [lld] [clang] [lldb] [compiler-rt] [mlir] [libcxx] [libc++][numeric] P0543R3: Saturation arithmetic (PR #77967)

Hristo Hristov llvmlistbot at llvm.org
Wed Jan 17 04:03:18 PST 2024


H-G-Hristov wrote:

How do I fix the following generated files check error:

```diff
[8/9] cd /home/runner/work/llvm-project/llvm-project/build/check-generated-output/libcxx/utils && /usr/bin/python3.10 /home/runner/work/llvm-project/llvm-project/libcxx/utils/generate_iwyu_mapping.py
[9/9] cd /home/runner/work/llvm-project/llvm-project/build/check-generated-output/libcxx/utils && /usr/bin/python3.10 /home/runner/work/llvm-project/llvm-project/libcxx/utils/generate_escaped_output_table.py /home/runner/work/llvm-project/llvm-project/libcxx/include/__format/escaped_output_table.h
diff --git a/libcxx/include/libcxx.imp b/libcxx/include/libcxx.imp
index 8616f9639..45fa4a954 100644
--- a/libcxx/include/libcxx.imp
+++ b/libcxx/include/libcxx.imp
@@ -559,6 +559,7 @@
   { include: [ "<__numeric/pstl_reduce.h>", "private", "<numeric>", "public" ] },
   { include: [ "<__numeric/pstl_transform_reduce.h>", "private", "<numeric>", "public" ] },
   { include: [ "<__numeric/reduce.h>", "private", "<numeric>", "public" ] },
+  { include: [ "<__numeric/saturation_arithmetic.h>", "private", "<numeric>", "public" ] },
   { include: [ "<__numeric/transform_exclusive_scan.h>", "private", "<numeric>", "public" ] },
   { include: [ "<__numeric/transform_inclusive_scan.h>", "private", "<numeric>", "public" ] },
   { include: [ "<__numeric/transform_reduce.h>", "private", "<numeric>", "public" ] },
```

https://github.com/llvm/llvm-project/pull/77967


More information about the Mlir-commits mailing list