Skip to content

Commit

Permalink
[llvm] Remove "using namespace llvm;" from header files (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Oct 13, 2023
1 parent 3104681 commit b29fb9c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions llvm/include/llvm/ADT/GenericUniformityImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@

#define DEBUG_TYPE "uniformity"

using namespace llvm;

namespace llvm {

template <typename Range> auto unique(Range &&R) {
Expand Down
2 changes: 0 additions & 2 deletions llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
#include "llvm/Transforms/Utils/SCCPSolver.h"
#include "llvm/Transforms/Utils/SizeOpts.h"

using namespace llvm;

namespace llvm {
// Map of potential specializations for each function. The FunctionSpecializer
// keeps the discovered specialisation opportunities for the module in a single
Expand Down
2 changes: 0 additions & 2 deletions llvm/include/llvm/Transforms/Instrumentation/CFGMST.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

#define DEBUG_TYPE "cfgmst"

using namespace llvm;

namespace llvm {

/// An union-find based Minimum Spanning Tree for CFG
Expand Down

0 comments on commit b29fb9c

Please sign in to comment.