projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531ec1e
)
Work around a bogus gcc 4.2 warning.
author
Chris Lattner
<sabre@nondot.org>
Wed, 18 Jul 2007 04:51:57 +0000
(
04:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 18 Jul 2007 04:51:57 +0000
(
04:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39993
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmWriterEmitter.cpp
b/utils/TableGen/AsmWriterEmitter.cpp
index 4a72e76997b478eb8a669d2c65b56d6299cd53d1..22ff06492406bb8a3f514b7be5903f4fde3b9d75 100644
(file)
--- a/
utils/TableGen/AsmWriterEmitter.cpp
+++ b/
utils/TableGen/AsmWriterEmitter.cpp
@@
-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;