[x86][MemFold] Fix anon namespace in header
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Mon, 20 Mar 2023 12:51:04 +0000 (08:51 -0400)
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Mon, 20 Mar 2023 15:16:44 +0000 (11:16 -0400)
D142084 moved an enumeration inside a header from the llvm namespace
into an anon namespace. Some of the bots started failing as a result.

Differential Revision: https://reviews.llvm.org/D146419

llvm/include/llvm/Support/X86FoldTablesUtils.h

index 4829700..c385058 100644 (file)
@@ -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 @@ enum {
 
   // Unused bits 14-15
 };
-}
-#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H
\ No newline at end of file
+} // namespace llvm
+#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H