[llvm] 8b52037 - Fix some clang-tidy namespace closing comments warnings. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 02:08:21 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-26T09:58:21+01:00
New Revision: 8b52037c7f9f44f5deea7f128f9560a96a6b449c
URL: https://github.com/llvm/llvm-project/commit/8b52037c7f9f44f5deea7f128f9560a96a6b449c
DIFF: https://github.com/llvm/llvm-project/commit/8b52037c7f9f44f5deea7f128f9560a96a6b449c.diff
LOG: Fix some clang-tidy namespace closing comments warnings. NFC.
Added:
Modified:
llvm/lib/IR/FPEnv.cpp
llvm/lib/IR/LegacyPassManager.cpp
llvm/lib/IR/Operator.cpp
llvm/lib/IR/PassManager.cpp
llvm/lib/IR/SafepointIRVerifier.cpp
llvm/lib/IR/Use.cpp
llvm/lib/IR/User.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/FPEnv.cpp b/llvm/lib/IR/FPEnv.cpp
index 910ec9877d9d..516c702acec7 100644
--- a/llvm/lib/IR/FPEnv.cpp
+++ b/llvm/lib/IR/FPEnv.cpp
@@ -80,4 +80,4 @@ Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior UseExcept) {
}
return ExceptStr;
}
-}
+} // namespace llvm
diff --git a/llvm/lib/IR/LegacyPassManager.cpp b/llvm/lib/IR/LegacyPassManager.cpp
index d5c7e2874825..e706884f464c 100644
--- a/llvm/lib/IR/LegacyPassManager.cpp
+++ b/llvm/lib/IR/LegacyPassManager.cpp
@@ -387,8 +387,8 @@ class FunctionPassManagerImpl : public Pass,
void FunctionPassManagerImpl::anchor() {}
char FunctionPassManagerImpl::ID = 0;
-} // End of legacy namespace
-} // End of llvm namespace
+} // namespace legacy
+} // namespace llvm
namespace {
//===----------------------------------------------------------------------===//
@@ -533,8 +533,8 @@ class PassManagerImpl : public Pass,
void PassManagerImpl::anchor() {}
char PassManagerImpl::ID = 0;
-} // End of legacy namespace
-} // End of llvm namespace
+} // namespace legacy
+} // namespace llvm
//===----------------------------------------------------------------------===//
// PMTopLevelManager implementation
diff --git a/llvm/lib/IR/Operator.cpp b/llvm/lib/IR/Operator.cpp
index df6f08da62ee..0f70fc37dee2 100644
--- a/llvm/lib/IR/Operator.cpp
+++ b/llvm/lib/IR/Operator.cpp
@@ -134,4 +134,4 @@ bool GEPOperator::accumulateConstantOffset(
}
return true;
}
-}
+} // namespace llvm
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index a8aa1e138d42..624827ff8cd9 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -89,7 +89,7 @@ bool FunctionAnalysisManagerModuleProxy::Result::invalidate(
// Return false to indicate that this result is still a valid proxy.
return false;
}
-}
+} // namespace llvm
AnalysisSetKey CFGAnalyses::SetKey;
diff --git a/llvm/lib/IR/SafepointIRVerifier.cpp b/llvm/lib/IR/SafepointIRVerifier.cpp
index 01c013226159..6bf7caa50a12 100644
--- a/llvm/lib/IR/SafepointIRVerifier.cpp
+++ b/llvm/lib/IR/SafepointIRVerifier.cpp
@@ -208,7 +208,7 @@ PreservedAnalyses SafepointIRVerifierPass::run(Function &F,
Verify(F, DT, CD);
return PreservedAnalyses::all();
}
-}
+} // namespace llvm
namespace {
diff --git a/llvm/lib/IR/Use.cpp b/llvm/lib/IR/Use.cpp
index 67ce3d26f2b8..dc0716b85372 100644
--- a/llvm/lib/IR/Use.cpp
+++ b/llvm/lib/IR/Use.cpp
@@ -48,4 +48,4 @@ void Use::zap(Use *Start, const Use *Stop, bool del) {
::operator delete(Start);
}
-} // End llvm namespace
+} // namespace llvm
diff --git a/llvm/lib/IR/User.cpp b/llvm/lib/IR/User.cpp
index ab7208c318aa..7da592f40127 100644
--- a/llvm/lib/IR/User.cpp
+++ b/llvm/lib/IR/User.cpp
@@ -195,4 +195,4 @@ LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) {
}
}
-} // End llvm namespace
+} // namespace llvm
More information about the llvm-commits
mailing list