[all-commits] [llvm/llvm-project] e80a20: [clang-doc] concatenate SymbolIDs to truncated man...

Erick Velez via All-commits all-commits at lists.llvm.org
Tue Sep 23 10:24:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80a207cc693dd45fb9a64e94242f59f3726767f
      https://github.com/llvm/llvm-project/commit/e80a207cc693dd45fb9a64e94242f59f3726767f
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

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

  Log Message:
  -----------
  [clang-doc] concatenate SymbolIDs to truncated mangled names (#159490)

Previously, if mangled names were too long to be used as filenames, the
object's SymbolID was used as a filename. This worked for length
restrictions, but made URLs/filenames inconsistent. This patch truncates
the mangled name and appends the SymbolID. Thus, we can keep some
context in the URL/filename while preserving uniqueness.



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