[llvm] r197772 - Remove the AnyPointerSize and AnyEndianness enumerators, which were left from

Dmitri Gribenko gribozavr at gmail.com
Thu Dec 19 19:11:07 PST 2013


Author: gribozavr
Date: Thu Dec 19 21:11:07 2013
New Revision: 197772

URL: http://llvm.org/viewvc/llvm-project?rev=197772&view=rev
Log:
Remove the AnyPointerSize and AnyEndianness enumerators, which were left from
LLVM's early days.  Today LLVM IR is always target-specific.

Modified:
    llvm/trunk/include/llvm/IR/Module.h

Modified: llvm/trunk/include/llvm/IR/Module.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Module.h?rev=197772&r1=197771&r2=197772&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Module.h (original)
+++ llvm/trunk/include/llvm/IR/Module.h Thu Dec 19 21:11:07 2013
@@ -143,10 +143,10 @@ public:
   typedef NamedMDListType::const_iterator const_named_metadata_iterator;
 
   /// An enumeration for describing the endianess of the target machine.
-  enum Endianness  { AnyEndianness, LittleEndian, BigEndian };
+  enum Endianness { LittleEndian, BigEndian };
 
   /// An enumeration for describing the size of a pointer on the target machine.
-  enum PointerSize { AnyPointerSize, Pointer32, Pointer64 };
+  enum PointerSize { Pointer32, Pointer64 };
 
   /// This enumeration defines the supported behaviors of module flags.
   enum ModFlagBehavior {





More information about the llvm-commits mailing list