[PATCH] D24860: [ELF] - Linkerscript: Implemented >> and <<

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 11:16:45 PDT 2016


ruiu added inline comments.

================
Comment at: lld/trunk/ELF/LinkerScript.cpp:1084-1085
@@ -1083,5 +1083,4 @@
   return StringSwitch<int>(Op)
-      .Case("*", 4)
-      .Case("/", 4)
-      .Case("+", 3)
-      .Case("-", 3)
+      .Case("*", 5)
+      .Case("/", 5)
+      .Case("+", 4)
----------------
StringSwitch now has Cases function in addition to the existing Case for multiple choice cases. You can use it.


Repository:
  rL LLVM

https://reviews.llvm.org/D24860





More information about the llvm-commits mailing list