[all-commits] [llvm/llvm-project] c274bb: [clang-doc][NFC] Prefer static functions for inter...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c274bbed6aa5254ec3b97b25471dd08c67224350
      https://github.com/llvm/llvm-project/commit/c274bbed6aa5254ec3b97b25471dd08c67224350
  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][NFC] Prefer static functions for internal APIs (#136391)

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