/
redgpu
/
clspv
Обзор
Документация
Войти
/
redgpu
/
clspv
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
third_party/llvm/libc/src/assert/assert.h
23 строки
894 B
Constantine Tarasenkov
python3 utils/fetch_sources.py
04 сен 2021, 14:35
04 сен 2021, 14:35
4a0ab4c
Код
Авторство
О чём код?
//===-- Internal header for assert ------------------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// #include "src/assert/__assert_fail.h" // There is no header guard here since assert is intended to be able to be // able to be included multiple times with NDEBUG defined differently, causing // different behavior. #undef assert #ifdef NDEBUG #define assert(e) (void)0 #else #define assert(e) \ ((e) ? (void)0 : \ __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, __PRETTY_FUNCTION__)) #endif