summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-07-21 11:30:39 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-07-21 11:30:39 +0000
commit8d60fac5bab0e378fff6b9cafaba80fd3c1e2d2a (patch)
tree712e6970785f933ec4c1c13d18e4f61505f922eb /clang/lib/StaticAnalyzer/Core/ProgramState.cpp
parent81457feffb2845dfc3a33e1b8fc2ca2f0077f7a3 (diff)
downloadbcm5719-llvm-8d60fac5bab0e378fff6b9cafaba80fd3c1e2d2a.tar.gz
bcm5719-llvm-8d60fac5bab0e378fff6b9cafaba80fd3c1e2d2a.zip
[lldb-mi] Simplify MICmnMIResultRecord implementation.
Summary: * Remove extraneous members that were just storing temporary values. * ResultClass_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 BuildRecordResult 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. * Don't need (void) parameter lists in C++. Reviewers: abidh, ki.stfu, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11052 llvm-svn: 242769
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud