[LLVMdev] LLD: make atoms in files non-const

Rui Ueyama ruiu at google.com
Tue Apr 7 15:58:21 PDT 2015


Currently, member functions like File::defined() return an iterator for
const atoms. But we don't actually treat atoms as consts -- we updates
atoms in many places including the core resolver.

We have too many const_casts in our code. It just doesn't make sense.

I'm making a change to make atoms non-const. Please hit reply if you have
any concerns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150407/a1de5102/attachment.html>


More information about the llvm-dev mailing list