/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/utils/testutils/RandUtils.cpp
19 строк
549 B
Siva Chandra Reddy
[libc] Use a wrapper for rand instead of calling std::rand in fma tests.
07 янв 2021, 02:07
07 янв 2021, 02:07
f9e858f
Код
Авторство
О чём код?
//===-- RandUtils.cpp -----------------------------------------------------===// // // 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 "RandUtils.h" #include <cstdlib> namespace __llvm_libc { namespace testutils { int rand() { return std::rand(); } } // namespace testutils } // namespace __llvm_libc