================
@@ -898,6 +899,25 @@ static std::string convertCallArgsToString(Sema &S,
   return Result;
 }
 
+static std::string
+printCallArgsValueCategoryAndType(Sema &S, llvm::ArrayRef<const Expr *> Args) {
----------------
tahonermann wrote:

Yeah. I spent quite a while looking for a way to avoid this, including looking 
at using a partial diagnostic to generate the string. I couldn't find a better 
option. I followed the existing precedent for `BuildingBuiltinDumpStructCall` 
and its call to `convertCallArgsToString()`. If you know of a better way to 
handle this, I would be interested in learning.

https://github.com/llvm/llvm-project/pull/152403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to