[llvm] [llvm] terminate namespace with closing comment (PR #94917)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 9 14:28:17 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Mohammed Keyvanzadeh (VoltrexKeyva)
<details>
<summary>Changes</summary>
Namespaces are terminated with a closing comment in the majority of the codebase so do the same here for consistency.
---
Full diff: https://github.com/llvm/llvm-project/pull/94917.diff
1 Files Affected:
- (modified) llvm/lib/Analysis/CallGraphSCCPass.cpp (+1-1)
``````````diff
diff --git a/llvm/lib/Analysis/CallGraphSCCPass.cpp b/llvm/lib/Analysis/CallGraphSCCPass.cpp
index 307dddd51ece0..ccba8b3831c8f 100644
--- a/llvm/lib/Analysis/CallGraphSCCPass.cpp
+++ b/llvm/lib/Analysis/CallGraphSCCPass.cpp
@@ -46,7 +46,7 @@ using namespace llvm;
namespace llvm {
cl::opt<unsigned> MaxDevirtIterations("max-devirt-iterations", cl::ReallyHidden,
cl::init(4));
-}
+} // namespace llvm
STATISTIC(MaxSCCIterations, "Maximum CGSCCPassMgr iterations on one SCC");
``````````
</details>
https://github.com/llvm/llvm-project/pull/94917
More information about the llvm-commits
mailing list