[all-commits] [llvm/llvm-project] b4ab90: [clang-doc] Prefer static functions for internal APIs

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Apr 18 18:21:27 PDT 2025


  Branch: refs/heads/users/ilovepi/static_funcs
  Home:   https://github.com/llvm/llvm-project
  Commit: b4ab90404dc4011720dbd0d52774f02790143da6
      https://github.com/llvm/llvm-project/commit/b4ab90404dc4011720dbd0d52774f02790143da6
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/BitcodeReader.cpp
    M clang-tools-extra/clang-doc/Generators.cpp
    M clang-tools-extra/clang-doc/Generators.h
    M clang-tools-extra/clang-doc/Mapper.cpp
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp

  Log Message:
  -----------
  [clang-doc] Prefer static functions for internal APIs

Additionally moving the declarations from Generator.cpp
prevents misc-use-internal-linkage warnings from clang-tidy.
We fix those here too, since the static functions are part
of the same diagnostic



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