aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-08-04 13:12:31 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-08-04 13:12:31 +0000
commit2d6b2f20108b39c4728d0e3cd2ff80fd22d85ff7 (patch)
treeadb96edb4551417ba4f4ee567095be67d074b108 /llvm/lib/CodeGen/MachineFunction.cpp
parent29111d54934d5d538a3c2af2abe63dcb7b52ac57 (diff)
downloadllvm-2d6b2f20108b39c4728d0e3cd2ff80fd22d85ff7.zip
llvm-2d6b2f20108b39c4728d0e3cd2ff80fd22d85ff7.tar.gz
llvm-2d6b2f20108b39c4728d0e3cd2ff80fd22d85ff7.tar.bz2
[lldb-mi] Simplify MICmnMIOutOfBandRecord implementation.
Summary: * Remove extraneous members that were just storing temporary values. * OutOfBand_e parameters don't need to be const as they are scalars. * Switch from a map with CMIUtilString values to using a mapping function. This uses a switch statement which will generate a warning if a new result class is added. * Make BuildAsyncRecord a static function rather than a private member function so that we can construct the result text correctly and avoid having extra stuff in the header. Reviewers: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11751 llvm-svn: 243975
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions