Skip to content

Commit

Permalink
Replace some C headers with C++ ones (#82697)
Browse files Browse the repository at this point in the history
#81434

Replaced some C headers with C++ ones

Co-authored-by: Daniel Martinez <danielmartinez@cock.li>
  • Loading branch information
Calandracas606 and Daniel Martinez committed Mar 4, 2024
1 parent 8300f30 commit aa6ebf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openmp/libomptarget/include/Shared/SourceInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef OMPTARGET_SHARED_SOURCE_INFO_H
#define OMPTARGET_SHARED_SOURCE_INFO_H

#include <stdint.h>
#include <cstdint>
#include <string>

#ifdef _WIN32
Expand Down
3 changes: 1 addition & 2 deletions openmp/libomptarget/include/omptarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@

#include "OpenMP/InternalTypes.h"

#include <cstddef>
#include <cstdint>
#include <deque>
#include <functional>
#include <stddef.h>
#include <stdint.h>
#include <type_traits>

#include "llvm/ADT/SmallVector.h"
Expand Down
2 changes: 1 addition & 1 deletion openmp/libomptarget/plugins-nextgen/common/include/RPC.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "llvm/Support/Error.h"

#include <stdint.h>
#include <cstdint>

namespace llvm::omp::target {
namespace plugin {
Expand Down

0 comments on commit aa6ebf9

Please sign in to comment.