[NFC][LLVM] Minor namespace cleanup in llvm-dis.cpp (#175254)

Move static function `printDebugLoc` out of anonymous namespace.
diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp
index 90ae3ef..818185f 100644
--- a/llvm/tools/llvm-dis/llvm-dis.cpp
+++ b/llvm/tools/llvm-dis/llvm-dis.cpp
@@ -91,8 +91,6 @@
     cl::desc("Only read thinlto index and print the index as LLVM assembly."),
     cl::init(false), cl::Hidden, cl::cat(DisCategory));
 
-namespace {
-
 static void printDebugLoc(const DebugLoc &DL, formatted_raw_ostream &OS) {
   OS << DL.getLine() << ":" << DL.getCol();
   if (DILocation *IDL = DL.getInlinedAt()) {
@@ -100,6 +98,8 @@
     printDebugLoc(IDL, OS);
   }
 }
+
+namespace {
 class CommentWriter : public AssemblyAnnotationWriter {
 private:
   bool canSafelyAccessUses(const Value &V) {
@@ -117,6 +117,7 @@
     OS << "; [#uses=" << F->getNumUses() << ']';  // Output # uses
     OS << '\n';
   }
+
   void printInfoComment(const Value &V, formatted_raw_ostream &OS) override {
     if (!canSafelyAccessUses(V))
       return;
@@ -165,7 +166,7 @@
     return true;
   }
 };
-} // end anon namespace
+} // namespace
 
 static ExitOnError ExitOnErr;