[llvm-branch-commits] [libc] [libc][annex_k] Add constraint_handler_t. (PR #163239)
Victor Campos via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 12 07:36:05 PDT 2026
================
@@ -0,0 +1,21 @@
+//===-- Definition of type constraint_handler_t ---------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_INCLUDE_LLVM_LIBC_TYPES_CONSTRAINT_HANDLER_T_H
+#define LLVM_LIBC_INCLUDE_LLVM_LIBC_TYPES_CONSTRAINT_HANDLER_T_H
+
----------------
vhscampos wrote:
I believe you have to include `annex-k-macros.h` here in order to have `LIBC_HAS_ANNEX_K` defined for the user. Otherwise the type won't be made available for use. And add the dependency accordingly to the CMake parts.
https://github.com/llvm/llvm-project/pull/163239
More information about the llvm-branch-commits
mailing list