[llvm] dc521b9 - [x86][MemFold] Fix anon namespace in header
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 08:19:10 PDT 2023
Author: Felipe de Azevedo Piovezan
Date: 2023-03-20T11:16:44-04:00
New Revision: dc521b9a1033239be5663d7dcdf1b17aa07c9cf3
URL: https://github.com/llvm/llvm-project/commit/dc521b9a1033239be5663d7dcdf1b17aa07c9cf3
DIFF: https://github.com/llvm/llvm-project/commit/dc521b9a1033239be5663d7dcdf1b17aa07c9cf3.diff
LOG: [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
Added:
Modified:
llvm/include/llvm/Support/X86FoldTablesUtils.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/X86FoldTablesUtils.h b/llvm/include/llvm/Support/X86FoldTablesUtils.h
index 4829700183139..c3850588c8522 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
More information about the llvm-commits
mailing list