commit | ad8c531e202adfc812aeabaaf87616ba27f02339 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Jul 18 04:51:57 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Jul 18 04:51:57 2007 +0000 |
tree | fbd3140673dcfb048893be92356f90e60d029e01 | |
parent | 531ec1e7a2330a76ef7168167f42440cc88fbfd5 [diff] [blame] |
Work around a bogus gcc 4.2 warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39993 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 4a72e76..22ff064 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp
@@ -28,7 +28,8 @@ C == '_'; } -namespace { +// This should be an anon namespace, this works around a GCC warning. +namespace llvm { struct AsmWriterOperand { enum { isLiteralTextOperand, isMachineInstrOperand } OperandType;