Fix ODR violation.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 25 Oct 2013 03:29:42 +0000 (03:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 25 Oct 2013 03:29:42 +0000 (03:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193391 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCELFSymbolFlags.h
include/llvm/MC/MCMachOSymbolFlags.h

index 2225ea07868f1c244ace6e5c22145a7bf4d375ba..d0e1dace99d1a15bf3b5d630e84f48c51317916a 100644 (file)
@@ -27,7 +27,7 @@ namespace llvm {
     ELF_Other_Shift = 10 // Shift value for other flags.
   };
 
-  enum SymbolFlags {
+  enum ELFSymbolFlags {
     ELF_STB_Local     = (ELF::STB_LOCAL     << ELF_STB_Shift),
       ELF_STB_Global    = (ELF::STB_GLOBAL    << ELF_STB_Shift),
       ELF_STB_Weak      = (ELF::STB_WEAK      << ELF_STB_Shift),
index 696436dffa6eca3a52f9ae38163c259fd287ce8a..71f01fab2064861ac1bbbb99c94d3210b488c40d 100644 (file)
@@ -19,9 +19,9 @@
 // the correct relocation information.
 
 namespace llvm {
-  /// SymbolFlags - We store the value for the 'desc' symbol field in the lowest
-  /// 16 bits of the implementation defined flags.
-  enum SymbolFlags { // See <mach-o/nlist.h>.
+  /// MachOSymbolFlags - We store the value for the 'desc' symbol field in the
+  /// lowest 16 bits of the implementation defined flags.
+  enum MachOSymbolFlags { // See <mach-o/nlist.h>.
     SF_DescFlagsMask                        = 0xFFFF,
 
     // Reference type flags.