1*5080840dSMichael Jones //===-- Internal header for __assert_fail -----------------------*- C++ -*-===// 2*5080840dSMichael Jones // 3*5080840dSMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*5080840dSMichael Jones // See https://llvm.org/LICENSE.txt for license information. 5*5080840dSMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*5080840dSMichael Jones // 7*5080840dSMichael Jones //===----------------------------------------------------------------------===// 8*5080840dSMichael Jones 9*5080840dSMichael Jones #ifndef LLVM_LIBC_SRC_ASSERT_ASSERT_FAIL_H 10*5080840dSMichael Jones #define LLVM_LIBC_SRC_ASSERT_ASSERT_FAIL_H 11*5080840dSMichael Jones 12*5080840dSMichael Jones #include <stddef.h> 13*5080840dSMichael Jones 14*5080840dSMichael Jones namespace __llvm_libc { 15*5080840dSMichael Jones 16*5080840dSMichael Jones [[noreturn]] void __assert_fail(const char *assertion, const char *file, 17*5080840dSMichael Jones unsigned line, const char *function); 18*5080840dSMichael Jones 19*5080840dSMichael Jones } // namespace __llvm_libc 20*5080840dSMichael Jones 21*5080840dSMichael Jones #endif // LLVM_LIBC_SRC_ASSERT_ASSERT_FAIL_H 22