[lld] r229051 - Remove KindArcH::PowerPC and sort enums alphabetically.
Rui Ueyama
ruiu at google.com
Thu Feb 12 19:47:34 PST 2015
Author: ruiu
Date: Thu Feb 12 21:47:34 2015
New Revision: 229051
URL: http://llvm.org/viewvc/llvm-project?rev=229051&view=rev
Log:
Remove KindArcH::PowerPC and sort enums alphabetically.
Modified:
lld/trunk/include/lld/Core/Reference.h
Modified: lld/trunk/include/lld/Core/Reference.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Reference.h?rev=229051&r1=229050&r2=229051&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Reference.h (original)
+++ lld/trunk/include/lld/Core/Reference.h Thu Feb 12 21:47:34 2015
@@ -56,16 +56,7 @@ public:
void setKindNamespace(KindNamespace ns) { _kindNamespace = (uint8_t)ns; }
// Which architecture the kind value is for.
- enum class KindArch {
- all = 0,
- x86_64 = 1,
- x86 = 2,
- ARM = 3,
- PowerPC = 4,
- Hexagon = 5,
- Mips = 6,
- AArch64 = 7
- };
+ enum class KindArch { all, AArch64, ARM, Hexagon, Mips, x86, x86_64 };
KindArch kindArch() const { return (KindArch)_kindArch; }
void setKindArch(KindArch a) { _kindArch = (uint8_t)a; }
More information about the llvm-commits
mailing list