[PATCH] D146419: [x86][MemFold] Fix anon namespace in header

Felipe de Azevedo Piovezan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 08:17:21 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc521b9a1033: [x86][MemFold] Fix anon namespace in header (authored by fdeazeve).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146419/new/

https://reviews.llvm.org/D146419

Files:
  llvm/include/llvm/Support/X86FoldTablesUtils.h


Index: llvm/include/llvm/Support/X86FoldTablesUtils.h
===================================================================
--- llvm/include/llvm/Support/X86FoldTablesUtils.h
+++ llvm/include/llvm/Support/X86FoldTablesUtils.h
@@ -9,7 +9,7 @@
 #ifndef LLVM_SUPPORT_X86FOLDTABLESUTILS_H
 #define LLVM_SUPPORT_X86FOLDTABLESUTILS_H
 
-namespace {
+namespace llvm {
 enum {
   // Select which memory operand is being unfolded.
   // (stored in bits 0 - 2)
@@ -55,5 +55,5 @@
 
   // Unused bits 14-15
 };
-}
-#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H
\ No newline at end of file
+} // namespace llvm
+#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146419.506599.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230320/1fcf0de1/attachment.bin>


More information about the llvm-commits mailing list