[all-commits] [llvm/llvm-project] ac37e0: [clang-doc] Fix assertions error in Serialize.cpp

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu May 29 10:12:11 PDT 2025


  Branch: refs/heads/users/ilovepi/clang-doc-assertion
  Home:   https://github.com/llvm/llvm-project
  Commit: ac37e01318046d3af42c5aa86b0480a3e82922fe
      https://github.com/llvm/llvm-project/commit/ac37e01318046d3af42c5aa86b0480a3e82922fe
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/Serialize.cpp

  Log Message:
  -----------
  [clang-doc] Fix assertions error in Serialize.cpp

We can only print and use a default arg, if it is instantiated.
I was unable to reduce the test case for this to something of reasonable
size, but this is easily hit by running clang-doc to generate clang's
documentation. For now, we can fix the assertion quickly to unbreak
users, and add the proper test once it is small enough.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list