Work around a bogus gcc 4.2 warning.

llvm-svn: 39993
This commit is contained in:
Chris Lattner 2007-07-18 04:51:57 +00:00
parent 2e5b07f41d
commit 6cc9a08734
1 changed files with 2 additions and 1 deletions

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;