[all-commits] [llvm/llvm-project] fc4ad9: [clang-doc] lower filename length limit by 5

Erick Velez via All-commits all-commits at lists.llvm.org
Tue Aug 26 16:15:00 PDT 2025


  Branch: refs/heads/users/evelez7/clang-doc-long-name-bug
  Home:   https://github.com/llvm/llvm-project
  Commit: fc4ad9db12ba7aac2be9e45ee0ab483338c28fa7
      https://github.com/llvm/llvm-project/commit/fc4ad9db12ba7aac2be9e45ee0ab483338c28fa7
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

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

  Log Message:
  -----------
  [clang-doc] lower filename length limit by 5

The previous limit did not take into account filename extensions. Since
the extensions we use (.yaml, .json, .html, .md) are at most 5
characters, we can lower the limit by 5.

Also add some tests to make sure the rules are observed and don't
explicitly crash clang-doc.



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