Basic/Targets.cpp: Reformat aarch64 CPU list.
authorMatthias Braun <matze@braunis.de>
Wed, 27 Jul 2016 22:47:09 +0000 (22:47 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 27 Jul 2016 22:47:09 +0000 (22:47 +0000)
Having 1 entry per line and an alphabetical order is clearer and reduces
the risk of invalid merges.

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

lib/Basic/Targets.cpp

index 2d0b3c0a9c56e8e1b93ec90c3ecd4b3a7f21fbb5..001c04483ecfbf76a6fc2dc9ae7d89a0851948ab 100644 (file)
@@ -5727,14 +5727,17 @@ public:
 
   bool setCPU(const std::string &Name) override {
     bool CPUKnown = llvm::StringSwitch<bool>(Name)
-                        .Case("generic", true)
-                        .Cases("cortex-a53", "cortex-a57", "cortex-a72",
-                               "cortex-a35", "exynos-m1", true)
-                        .Case("cortex-a73", true)
-                        .Case("cyclone", true)
-                        .Case("kryo", true)
-                        .Case("vulcan", true)
-                        .Default(false);
+      .Case("cortex-a35", true)
+      .Case("cortex-a53", true)
+      .Case("cortex-a57", true)
+      .Case("cortex-a72", true)
+      .Case("cortex-a73", true)
+      .Case("cyclone", true)
+      .Case("exynos-m1", true)
+      .Case("generic", true)
+      .Case("kryo", true)
+      .Case("vulcan", true)
+      .Default(false);
     return CPUKnown;
   }