llvm-project/lldb/source/DataFormatters
Jaroslav Sevcik 902974277d Data formatters: Look through array element typedefs
Summary:
Motivation: When formatting an array of typedefed chars, we would like to display the array as a string.

The string formatter currently does not trigger because the formatter lookup does not resolve typedefs for array elements (this behavior is inconsistent with pointers, for those we do look through pointee typedefs). This patch tries to make the array formatter lookup somewhat consistent with the pointer formatter lookup.

Reviewers: teemperor, clayborg

Reviewed By: teemperor, clayborg

Subscribers: clayborg, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D72133
2020-01-10 11:45:24 +01:00
..
CMakeLists.txt Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
CXXFunctionPointer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DataVisualization.cpp Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
DumpValueObjectOptions.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatCache.cpp Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
FormatClasses.cpp [FormatManager] GetCandidateLanguages shouldn't know about ValueObject. 2019-12-09 17:16:20 -08:00
FormatManager.cpp Data formatters: Look through array element typedefs 2020-01-10 11:45:24 +01:00
FormattersHelpers.cpp Code cleanup: Change FormattersContainer::KeyType from SP to rvalue 2019-09-04 09:47:18 +00:00
LanguageCategory.cpp Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
StringPrinter.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
TypeCategory.cpp TypeCategory: Initialize m_enabled to false 2019-12-12 11:39:41 -08:00
TypeCategoryMap.cpp Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
TypeFormat.cpp Simplify condition (NFC) 2019-10-01 17:08:38 +00:00
TypeSummary.cpp Delete unnecessary copy ctors/copy assignment operators 2019-05-15 11:23:54 +00:00
TypeSynthetic.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
ValueObjectPrinter.cpp Remove TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
VectorType.cpp [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00