[all-commits] [llvm/llvm-project] e3aafe: [clang-tidy] fix false positive use-internal-linka...

Congcong Cai via All-commits all-commits at lists.llvm.org
Sun Nov 24 14:46:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3aafe407af36f580148d3ceccd1aa13a490f7c9
      https://github.com/llvm/llvm-project/commit/e3aafe407af36f580148d3ceccd1aa13a490f7c9
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
    M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp

  Log Message:
  -----------
  [clang-tidy] fix false positive use-internal-linkage for func decl without body (#117490)

If in one TU, function only have declaration without body, this function
should be external linkage.
Fixed #117488



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