[all-commits] [llvm/llvm-project] 6a80e5: [clang-tidy] Fix macros handling in cppcoreguideli...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Mon Jan 22 07:17:45 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a80e56ad0c7ae0adb8c4fb3f88eab7643566f41
https://github.com/llvm/llvm-project/commit/6a80e56ad0c7ae0adb8c4fb3f88eab7643566f41
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/prefer-member-initializer.cpp
Log Message:
-----------
[clang-tidy] Fix macros handling in cppcoreguidelines-prefer-member-initializer (#72037)
Produces now valid fixes for a member variables initialized with macros.
Correctly uses expansion location instead of location inside macro to
get init code.
Close #70189
More information about the All-commits
mailing list