mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 14:16:12 +00:00
Give CurStreamType's enum a name. This works around what is apparently
a bug in Apple GCC 4.0. llvm-svn: 121409
This commit is contained in:
parent
a8ac35b468
commit
d5b1cf4bc8
@ -61,12 +61,19 @@ NonSymbolic("non-symbolic",
|
||||
cl::desc("Emit numberic info in dump even if"
|
||||
" symbolic info is available"));
|
||||
|
||||
/// CurStreamType - If we can sniff the flavor of this stream, we can produce
|
||||
/// better dump info.
|
||||
static enum {
|
||||
namespace {
|
||||
|
||||
/// CurStreamTypeType - A type for CurStreamType
|
||||
enum CurStreamTypeType {
|
||||
UnknownBitstream,
|
||||
LLVMIRBitstream
|
||||
} CurStreamType;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
/// CurStreamType - If we can sniff the flavor of this stream, we can produce
|
||||
/// better dump info.
|
||||
static CurStreamTypeType CurStreamType;
|
||||
|
||||
|
||||
/// GetBlockName - Return a symbolic block name if known, otherwise return
|
||||
|
Loading…
x
Reference in New Issue
Block a user