llvm-project/lldb/source/DataFormatters
Jorge Gorbe Moya fe01292457 Move FormattersMatchCandidate flags to a struct.
This removes some error-prone repetition in
FormatManager::GetPossibleMatches, where the same three boolean flags
are passed in a row multiple times as arguments to recursive calls to
GetPossibleMatches.

Instead of:
```
  // same flags, but with did_strip_typedef set to true.
  GetPossibleMatches(..., did_strip_ptr, did_strip_ref, true);
```
we can now say
```
  GetPossibleMatches(..., current_flags.WithStrippedTypedef());
```
which hopefully makes the intent clearer, and more readable in case we
add another flag.

Reviewed by: DavidSpickett, labath

Differential Revision: https://reviews.llvm.org/D131459
2022-08-09 10:48:49 -07:00
..
CMakeLists.txt
CXXFunctionPointer.cpp Set a default number of address bits on Darwin arm64 systems 2021-12-09 22:53:01 -08:00
DataVisualization.cpp
DumpValueObjectOptions.cpp [lldb] Add setting for max depth of value object printing (NFC) 2022-05-03 10:39:42 -07:00
FormatCache.cpp
FormatClasses.cpp
FormatManager.cpp Move FormattersMatchCandidate flags to a struct. 2022-08-09 10:48:49 -07:00
FormattersHelpers.cpp [lldb] (Partially) enable formatting of utf strings before the program is started 2021-11-18 14:45:17 +01:00
LanguageCategory.cpp
StringPrinter.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
TypeCategory.cpp
TypeCategoryMap.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
TypeFormat.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
TypeSummary.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
TypeSynthetic.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectPrinter.cpp [lldb] Add setting for max depth of value object printing (NFC) 2022-05-03 10:39:42 -07:00
VectorType.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00