[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / offload / DeviceRTL / include / LibC.h
blob03febdb5083423f1999f61bf6150b748baf9502e
1 //===--------- LibC.h - Simple implementation of libc functions --- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 //
10 //===----------------------------------------------------------------------===//
12 #ifndef OMPTARGET_LIBC_H
13 #define OMPTARGET_LIBC_H
15 #include "DeviceTypes.h"
17 extern "C" {
19 int memcmp(const void *lhs, const void *rhs, size_t count);
20 void memset(void *dst, int C, size_t count);
21 int printf(const char *format, ...);
24 #endif