[Lldb-commits] [lldb] [lldb] Refactor GetFormatFromCString to always check for partial matches (NFC) (PR #81018)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 7 11:02:05 PST 2024


================
@@ -2204,7 +2204,9 @@ static Status ParseInternal(llvm::StringRef &format, Entry &parent_entry,
                   return error;
                 }
               } else if (FormatManager::GetFormatFromCString(
-                             entry.printf_format.c_str(), true, entry.fmt)) {
+                             entry.printf_format.c_str(), true,
+                             entry.fmt)) { // Try GetFormatFromCString again,
----------------
kastiglione wrote:

Pushed changes and updated the PR description.

https://github.com/llvm/llvm-project/pull/81018


More information about the lldb-commits mailing list