forked from OSchip/llvm-project
Turns out, many people define structs named Point that do not share the same names that this formatter uses for fields; use the {} syntax to make it so that a failure to parse the summary doesn't cause the entire printout to fail
llvm-svn: 256042
This commit is contained in:
parent
1eaae4c3b1
commit
11799e1529
|
@ -415,7 +415,7 @@ LoadObjCFormatters(TypeCategoryImplSP objc_category_sp)
|
|||
ConstString("Rect"),
|
||||
objc_flags);
|
||||
AddStringSummary(objc_category_sp,
|
||||
"(v=${var.v}, h=${var.h})",
|
||||
"{(v=${var.v}, h=${var.h})}",
|
||||
ConstString("Point"),
|
||||
objc_flags);
|
||||
AddStringSummary(objc_category_sp,
|
||||
|
|
Loading…
Reference in New Issue