[Lldb-commits] [PATCH] D11049: [lldb-mi] size_t rather than MIuint for arg counts.

Bruce Mitchener bruce.mitchener at gmail.com
Thu Jul 9 07:12:38 PDT 2015


brucem added a comment.

I don't think other code within LLDB really uses const scalar parameters and they don't provide much protection against anything. (They don't do anything for the caller and they only provide a minor restriction for the callee.)

Some const were removed in the MIuint to size_t patch as well, but if we decide to keep this, I can sort through and add them back.

The value of these const annotations isn't clear though.


http://reviews.llvm.org/D11049







More information about the lldb-commits mailing list