[llvm][utils] Use literal type name for non-template data formatters (NFC)

These don't need to be regex.
This commit is contained in:
Dave Lee 2023-07-11 11:24:31 -07:00
parent a6ff60ecdd
commit b8580ef717

View File

@ -59,12 +59,12 @@ def __lldb_init_module(debugger, internal_dict):
debugger.HandleCommand(
"type summary add -w llvm "
"-F lldbDataFormatters.StringRefSummaryProvider "
'-x "^llvm::StringRef$"'
"llvm::StringRef"
)
debugger.HandleCommand(
"type summary add -w llvm "
"-F lldbDataFormatters.ConstStringSummaryProvider "
'-x "^lldb_private::ConstString$"'
"lldb_private::ConstString"
)
# The synthetic providers for PointerIntPair and PointerUnion are disabled