mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
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:
parent
531ec1e7a2
commit
ad8c531e20
@ -28,7 +28,8 @@ static bool isIdentChar(char C) {
|
|||||||
C == '_';
|
C == '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
// This should be an anon namespace, this works around a GCC warning.
|
||||||
|
namespace llvm {
|
||||||
struct AsmWriterOperand {
|
struct AsmWriterOperand {
|
||||||
enum { isLiteralTextOperand, isMachineInstrOperand } OperandType;
|
enum { isLiteralTextOperand, isMachineInstrOperand } OperandType;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user