From: Felipe de Azevedo Piovezan Date: Mon, 20 Mar 2023 12:51:04 +0000 (-0400) Subject: [x86][MemFold] Fix anon namespace in header X-Git-Tag: upstream/17.0.6~14272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc521b9a1033239be5663d7dcdf1b17aa07c9cf3;p=platform%2Fupstream%2Fllvm.git [x86][MemFold] Fix anon namespace in header 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 --- diff --git a/llvm/include/llvm/Support/X86FoldTablesUtils.h b/llvm/include/llvm/Support/X86FoldTablesUtils.h index 4829700..c385058 100644 --- a/llvm/include/llvm/Support/X86FoldTablesUtils.h +++ b/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 @@ enum { // Unused bits 14-15 }; -} -#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H \ No newline at end of file +} // namespace llvm +#endif // LLVM_SUPPORT_X86FOLDTABLESUTILS_H