Skip to content

Commit 797b767

Browse files
[IR] Move isConvergenceControlIntrinsic under "namespace llvm" (NFC)
While I am at it, this patch removes "using namespace llvm;".
1 parent b29fb9c commit 797b767

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/include/llvm/IR/GenericConvergenceVerifierImpl.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
#include "llvm/ADT/Twine.h"
3232
#include "llvm/IR/Intrinsics.h"
3333

34-
using namespace llvm;
35-
3634
#define Check(C, ...) \
3735
do { \
3836
if (!(C)) { \
@@ -49,6 +47,7 @@ using namespace llvm;
4947
} \
5048
} while (false)
5149

50+
namespace llvm {
5251
static bool isConvergenceControlIntrinsic(unsigned IntrinsicID) {
5352
switch (IntrinsicID) {
5453
default:
@@ -60,7 +59,6 @@ static bool isConvergenceControlIntrinsic(unsigned IntrinsicID) {
6059
}
6160
}
6261

63-
namespace llvm {
6462
template <class ContextT> void GenericConvergenceVerifier<ContextT>::clear() {
6563
Tokens.clear();
6664
CI.clear();

0 commit comments

Comments
 (0)