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
This commit is contained in:
Chris Lattner 2007-07-18 04:51:57 +00:00
parent 531ec1e7a2
commit ad8c531e20

View File

@ -28,7 +28,8 @@ static bool isIdentChar(char C) {
C == '_';
}
namespace {
// This should be an anon namespace, this works around a GCC warning.
namespace llvm {
struct AsmWriterOperand {
enum { isLiteralTextOperand, isMachineInstrOperand } OperandType;