================
@@ -3132,7 +3132,8 @@ static std::string formatBlockPlaceholder(
 static std::string FormatFunctionParameter(
     const PrintingPolicy &Policy, const DeclaratorDecl *Param,
     bool SuppressName = false, bool SuppressBlock = false,
-    std::optional<ArrayRef<QualType>> ObjCSubsts = std::nullopt) {
+    std::optional<ArrayRef<QualType>> ObjCSubsts = std::nullopt,
+    bool SuppressType = false) {
   // Params are unavailable in FunctionTypeLoc if the FunctionType is invalid.
----------------
HighCommander4 wrote:

Maybe assert that `SuppressName` and `SuppressType` are not both true (as that 
would lead to an empty string)?

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

Reply via email to