aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-09-07 12:00:51 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-09-07 12:00:51 +0000
commit8647f4381f3001692e78aead8d1121328883cfe7 (patch)
treed948ad5e139c2b5d6cd9d92a96ad7dff083bfcff /clang/lib/CodeGen/CodeGenFunction.cpp
parent058faef6ce407e96d630c49a2d49af6c843ce70d (diff)
downloadllvm-8647f4381f3001692e78aead8d1121328883cfe7.zip
llvm-8647f4381f3001692e78aead8d1121328883cfe7.tar.gz
llvm-8647f4381f3001692e78aead8d1121328883cfe7.tar.bz2
Fix -data-evaluate-expression for array.
Summary: For an array declared like "blk[2][3]", this command was showing: -data-evaluate-expression blk ^done,value="{[0] = [3], [1] = [3]}" After this fix, it shows: -data-evaluate-expression blk ^done,value="{[0] = {[0] = 1, [1] = 2, [2] = 3}, [1] = {[0] = 4, [1] = 5, [2] = 6}}" The code to do the right thing was already available and used by other commands. So I have just used that and removed the half-baked previous implementation. Reviewers: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12634 llvm-svn: 246965
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions