[llvm] [llvm] terminate namespace with closing comment (PR #94917)

Mohammed Keyvanzadeh via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 9 14:27:43 PDT 2024


https://github.com/VoltrexKeyva created https://github.com/llvm/llvm-project/pull/94917

Namespaces are terminated with a closing comment in the majority of the codebase so do the same here for consistency.

>From 000777623ce3ab493535ea45b7dc66012c4b27e6 Mon Sep 17 00:00:00 2001
From: Mohammed Keyvanzadeh <mohammadkeyvanzade94 at gmail.com>
Date: Mon, 10 Jun 2024 00:52:47 +0330
Subject: [PATCH] [llvm] terminate namespace with closing comment

Namespaces are terminated with a closing comment in the majority of
the codebase so do the same here for consistency.
---
 llvm/lib/Analysis/CallGraphSCCPass.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");
 



More information about the llvm-commits mailing list