Skip to content

Commit aa6ebf9

Browse files
Calandracas606Daniel Martinez
and
Daniel Martinez
authored
Replace some C headers with C++ ones (#82697)
#81434 Replaced some C headers with C++ ones Co-authored-by: Daniel Martinez <[email protected]>
1 parent 8300f30 commit aa6ebf9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

openmp/libomptarget/include/Shared/SourceInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#ifndef OMPTARGET_SHARED_SOURCE_INFO_H
1414
#define OMPTARGET_SHARED_SOURCE_INFO_H
1515

16-
#include <stdint.h>
16+
#include <cstdint>
1717
#include <string>
1818

1919
#ifdef _WIN32

openmp/libomptarget/include/omptarget.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020

2121
#include "OpenMP/InternalTypes.h"
2222

23+
#include <cstddef>
2324
#include <cstdint>
2425
#include <deque>
2526
#include <functional>
26-
#include <stddef.h>
27-
#include <stdint.h>
2827
#include <type_traits>
2928

3029
#include "llvm/ADT/SmallVector.h"

openmp/libomptarget/plugins-nextgen/common/include/RPC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "llvm/Support/Error.h"
2020

21-
#include <stdint.h>
21+
#include <cstdint>
2222

2323
namespace llvm::omp::target {
2424
namespace plugin {

0 commit comments

Comments
 (0)