[Lldb-commits] [PATCH] D40821: Fix const-correctness in RegisterContext methods, NFC

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 5 10:19:46 PST 2017

clayborg added a comment.

Seems wrong to remove the const on structs that don't need to change in order to make the write happen. Can't we just quiet the warnings with a const_cast inside the function call?


More information about the lldb-commits mailing list