diff options
| author | Ilia K <ki.stfu@gmail.com> | 2015-07-30 05:32:41 +0000 |
|---|---|---|
| committer | Ilia K <ki.stfu@gmail.com> | 2015-07-30 05:32:41 +0000 |
| commit | 6940581e456ba1547fd79189f7721e98363e0999 (patch) | |
| tree | f7d50cfaab4b05b7da82755336e007e4a2e29fff /llvm/unittests/ADT/VariadicFunctionTest.cpp | |
| parent | 6fc590dadc027cf7c6336ea48ff0e5281f2d10a5 (diff) | |
| download | bcm5719-llvm-6940581e456ba1547fd79189f7721e98363e0999.tar.gz bcm5719-llvm-6940581e456ba1547fd79189f7721e98363e0999.zip | |
Fix bug in expression display when determining if a pointer should be treated as a string
Summary:
Currently if the "first child" of the pointer is a char type then the pointer is displayed as a string. This test succeeds incorrectly when the pointer is to a structured type with a char type as its first field. Fix this by switching the test to retrieve the pointee type and checking that it is a char type.
Reviewers: abidh, ChuckR, ki.stfu
Subscribers: greggm, lldb-commits
Differential Revision: http://reviews.llvm.org/D11488
llvm-svn: 243619
Diffstat (limited to 'llvm/unittests/ADT/VariadicFunctionTest.cpp')
0 files changed, 0 insertions, 0 deletions

