[llvm] [LLVM][TableGen] Move DecoderEmitter output to anonymous namespace (PR #136214)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 17:04:31 PDT 2025
================
@@ -2561,7 +2561,7 @@ namespace llvm {
// Emit the main entry point for the decoder, decodeInstruction().
emitDecodeInstruction(OS, IsVarLenInst);
- OS << "\n} // end namespace llvm\n";
+ OS << "\n} // end anonymous namespace\n";
----------------
s-barannikov wrote:
(nit) I believe this should read `// namespace` (this is what `clang-format` would insert). `// end [[of ]name ] namespace` syntax seems to be accepted for compatibility reasons.
https://github.com/llvm/llvm-project/pull/136214
More information about the llvm-commits
mailing list