[all-commits] [llvm/llvm-project] 8eced2: [clang-doc] Initialize StringRef members in Info t...

Paul Kirth via All-commits all-commits at lists.llvm.org
Sat Apr 11 08:26:45 PDT 2026


  Branch: refs/heads/users/ilovepi/cd-msan
  Home:   https://github.com/llvm/llvm-project
  Commit: 8eced217c2f0b463aeb2c7c7e8c7e146fe1d53b5
      https://github.com/llvm/llvm-project/commit/8eced217c2f0b463aeb2c7c7e8c7e146fe1d53b5
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2026-04-11 (Sat, 11 Apr 2026)

  Changed paths:
    M clang-tools-extra/clang-doc/Representation.h

  Log Message:
  -----------
  [clang-doc] Initialize StringRef members in Info types

We had a report of some assertion failures in
https://github.com/llvm/llvm-project/pull/190054#issuecomment-4228893309,
and some msan failures in
https://github.com/llvm/llvm-project/pull/190056.

These appear to be due to default constructed StringRef's being used in
some cases. To address, we can provide default initializers that should
prevent such cases from causing further problems.



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