[lld] r297850 - [ELF] - Linkerscript: make Dot public and remove getDot(). NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 03:08:42 PDT 2017
> but in this case we have a fairly complicated `setDot` function, and we always set Dot via that function. So getDot works as a >guard to protect the direct access to that variable.
We don't always use setDot(), If we would do, I would not remove setter.
We have at least 4 direct assignemt to Dot in LinkerScriptBase?. May be we should change all asignents to go through
setDot() ?
George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/e71b49c2/attachment.html>
More information about the llvm-commits
mailing list