MC: remove unnecessary enumeration prefix
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 1 Sep 2014 23:48:29 +0000 (23:48 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 1 Sep 2014 23:48:29 +0000 (23:48 +0000)
This is an enum class, and will be appropriately prefixed, making the encoding
type prefix redundant.  No change to any uses as the use of this was not yet
introduced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216893 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCAsmInfo.h
lib/MC/MCAsmInfo.cpp

index a94331546c94f99d4f40c68199a08ed580776510..4edc880526453c7d42f25e3522f8c41ecd23ad19 100644 (file)
@@ -31,13 +31,13 @@ class MCContext;
 
 namespace WinEH {
 enum class EncodingType {
-  ET_Invalid, /// Invalid
-  ET_Alpha,   /// Windows Alpha
-  ET_Alpha64, /// Windows AXP64
-  ET_ARM,     /// Windows NT (Windows on ARM)
-  ET_CE,      /// Windows CE ARM, PowerPC, SH3, SH4
-  ET_Itanium, /// Windows x64, Windows Itanium (IA-64)
-  ET_MIPS = ET_Alpha,
+  Invalid, /// Invalid
+  Alpha,   /// Windows Alpha
+  Alpha64, /// Windows AXP64
+  ARM,     /// Windows NT (Windows on ARM)
+  CE,      /// Windows CE ARM, PowerPC, SH3, SH4
+  Itanium, /// Windows x64, Windows Itanium (IA-64)
+  MIPS = Alpha,
 };
 }
 
index c7d815387bb846a258754d9c492d03876a4fa0d2..ed3d5edb2e75271df61b6b2f216b0cdabd605e9e 100644 (file)
@@ -81,7 +81,7 @@ MCAsmInfo::MCAsmInfo() {
   ProtectedVisibilityAttr = MCSA_Protected;
   SupportsDebugInformation = false;
   ExceptionsType = ExceptionHandling::None;
-  WinEHEncodingType = WinEH::EncodingType::ET_Invalid;
+  WinEHEncodingType = WinEH::EncodingType::Invalid;
   DwarfUsesRelocationsAcrossSections = true;
   DwarfFDESymbolsUseAbsDiff = false;
   DwarfRegNumForCFI = false;