[PATCH] D19332: [ELF] - implemented ternary operator for linkerscript expressions

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 12:01:59 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with a nit.


================
Comment at: ELF/LinkerScript.cpp:138
@@ +137,3 @@
+    if (Op1 == "?")
+      return parseTernary(Tokens, Lhs, Dot);
+
----------------
Swap Tokens and Lhs so that the order matches with parseExpr1.


http://reviews.llvm.org/D19332





More information about the llvm-commits mailing list