[all-commits] [llvm/llvm-project] 1d3ad7: [clang-tidy] Fix insertion location for certain fu...
flovent via All-commits
all-commits at lists.llvm.org
Fri Oct 10 06:14:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d3ad74667e86a1ba19285e58d14156cce3de89d
https://github.com/llvm/llvm-project/commit/1d3ad74667e86a1ba19285e58d14156cce3de89d
Author: flovent <flbven at protonmail.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/init-variables.cpp
Log Message:
-----------
[clang-tidy] Fix insertion location for certain function pointers in `cppcoreguidelines-init-variables` (#162218)
This patch starts to find terminator from `VarDecl`'s end location
rather than it's `getLocation()` to ignore terminator(`,`) in function
paramaters list.
Kind of follow up to #112091
Closes #161978 .
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