[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
Tue Aug 30 11:04:02 PDT 2016


rafael added a subscriber: rafael.

================
Comment at: ELF/LinkerScript.h:140
@@ -132,1 +139,3 @@
+
+  ScriptMethods* Methods;
 };
----------------
This is the same as Script<ELFT>::X, just with a non templated type, no?

Can you rename ScriptMethods to LinkerScriptBase and replace  Script<ELFT>::X with a "LinkerScriptBase *Script"?



https://reviews.llvm.org/D23872





More information about the llvm-commits mailing list