[Mlir-commits] [llvm] [mlir] [libcxx] [libc++][concepts] Implements concept helper `__libcpp_integer` (PR #78086)

Mark de Wever llvmlistbot at llvm.org
Sun Jan 14 05:27:48 PST 2024


================
@@ -0,0 +1,117 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+
+#include <concepts>
+
+struct SomeObject {};
+
+// Concept helpers for the internal type traits for the fundamental types.
+
+// template <class _Tp>
+// concept __libcpp_unsigned_integer;
----------------
mordante wrote:

Typically we have one test per function, type, or concept. Let's split the test in 3 parts for consistency.
Thanks for adding tests for the existing code.

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


More information about the Mlir-commits mailing list