[PATCH] D23872: [ELF] - Linkerscript: simplify access to templated methods from parser.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 10:43:22 PDT 2016


rafael accepted this revision.
rafael added a reviewer: rafael.
rafael added a comment.
This revision is now accepted and ready to land.

Something like getScript is what I had in mind, but the current solution is OK too.

I like this change, but wait to see if Rui is OK with it too.


================
Comment at: ELF/LinkerScript.cpp:629
@@ -621,1 +628,3 @@
 
+template <class ELFT> LinkerScript<ELFT> *getScript() {
+  return static_cast<LinkerScript<ELFT> *>(ScriptBase);
----------------
Is this being used?


https://reviews.llvm.org/D23872





More information about the llvm-commits mailing list