llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/177148.diff 1 Files Affected: - (modified) clang/lib/AST/ByteCode/InterpFrame.cpp (+2-2) ``````````diff diff --git a/clang/lib/AST/ByteCode/InterpFrame.cpp b/clang/lib/AST/ByteCode/InterpFrame.cpp index 3b883761ad001..5d645feb5579d 100644 --- a/clang/lib/AST/ByteCode/InterpFrame.cpp +++ b/clang/lib/AST/ByteCode/InterpFrame.cpp @@ -191,15 +191,15 @@ void InterpFrame::describe(llvm::raw_ostream &OS) const { Off += Func->hasRVO() ? primSize(PT_Ptr) : 0; Off += Func->hasThisPointer() ? primSize(PT_Ptr) : 0; + llvm::ListSeparator Comma; for (unsigned I = 0, N = F->getNumParams(); I < N; ++I) { + OS << Comma; QualType Ty = F->getParamDecl(I)->getType(); PrimType PrimTy = S.Ctx.classify(Ty).value_or(PT_Ptr); TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getASTContext(), Ty)); Off += align(primSize(PrimTy)); - if (I + 1 != N) - OS << ", "; } OS << ")"; } `````````` </details> https://github.com/llvm/llvm-project/pull/177148 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
