diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-15 12:00:08 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-15 12:00:08 +0000 |
commit | 7dd8c12d847ba578b8783dc883611a7df13c5d68 (patch) | |
tree | 9229409d2747b57b8fbe98eaf5eca44c6891d7f4 /clang/test/OpenMP/sections_codegen.cpp | |
parent | 9c8453fb4b44435d25dbc2d35293a600fc107fb1 (diff) | |
download | bcm5719-llvm-7dd8c12d847ba578b8783dc883611a7df13c5d68.tar.gz bcm5719-llvm-7dd8c12d847ba578b8783dc883611a7df13c5d68.zip |
[lldb-mi] Clean up CMICmdArgSet usage.
Summary:
CMICmdArgSet stores a vector of non-const pointers to the arguments
that it is validating. It owns them and is responsible for deleting
them.
We don't need to pass a const reference to the argument to
CMICmdArgSet::Add and then take the address and const_cast it
when we can just pass the argument pointer in directly.
This lets us remove some noise at every call site for CMICmdArgSet::Add
and then clean up a couple of bits inside CMICmdArgSet to remove
const_casts.
Reviewers: abidh, ki.stfu, domipheus
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D12878
llvm-svn: 247677
Diffstat (limited to 'clang/test/OpenMP/sections_codegen.cpp')
0 files changed, 0 insertions, 0 deletions