[Lldb-commits] [lldb] [lldb] Add comment to ParseInternal in FormatEntity (NFC) (PR #81018)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 7 10:40:01 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:
I guess if we assume that there's no overlap between printf and lldb format (which there shouldn't be) then the lldb format can be done first, and the printf can be done second, as partial.
https://github.com/llvm/llvm-project/pull/81018
More information about the lldb-commits
mailing list