Skip to content

Commit

Permalink
[Frontend] Remove unused includes (NFC) (#116927)
Browse files Browse the repository at this point in the history
Identified with misc-include-cleaner.
  • Loading branch information
kazutakahirata authored Nov 20, 2024
1 parent d44ea71 commit 36ada1b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/Frontend/Atomic/Atomic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
//===----------------------------------------------------------------------===//

#include "llvm/Frontend/Atomic/Atomic.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Frontend/Atomic/Atomic.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Operator.h"

namespace {} // namespace

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Frontend/HLSL/HLSLResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "llvm/Frontend/HLSL/HLSLResource.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"

using namespace llvm;
using namespace llvm::hlsl;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Frontend/Offloading/Utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "llvm/IR/Value.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"

using namespace llvm;
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Frontend/OpenACC/ACC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

#include "llvm/Frontend/OpenACC/ACC.h.inc"

#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"

using namespace llvm;
using namespace acc;
Expand Down
4 changes: 0 additions & 4 deletions llvm/lib/Frontend/OpenMP/OMP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
#include "llvm/Frontend/OpenMP/OMP.h"

#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Demangle/Demangle.h"
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/StringSaver.h"

#include <algorithm>
#include <cstdio>
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@

#include <cstdint>
#include <optional>
#include <stack>

#define DEBUG_TYPE "openmp-ir-builder"

Expand Down

0 comments on commit 36ada1b

Please sign in to comment.