[all-commits] [llvm/llvm-project] 6f7570: [clang-tidy][misc-use-internal-linkage] fix false ...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Fri Mar 7 21:41:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f7570c200aa1ee9af9d1eb7a378d56264ee297e
https://github.com/llvm/llvm-project/commit/6f7570c200aa1ee9af9d1eb7a378d56264ee297e
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2025-03-08 (Sat, 08 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-macro.hpp
Log Message:
-----------
[clang-tidy][misc-use-internal-linkage] fix false positives for function or variable in header file which contains macro expansion (#129594)
When check whether in main file, spelling loc will lead to `<scratch
space>`. instead, expansion loc is close to loc after preprocess. It is
suitable to analyze linkage.
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