[all-commits] [llvm/llvm-project] 35f2c3: [clang-tidy] cppcoreguidelines-pro-type-member-ini...
Chris Warner via All-commits
all-commits at lists.llvm.org
Sun Dec 20 03:25:03 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35f2c3a8b41fd3b6ef88d013a7c3ed9478b765e4
https://github.com/llvm/llvm-project/commit/35f2c3a8b41fd3b6ef88d013a7c3ed9478b765e4
Author: Chris Warner <cwarner at esri.com>
Date: 2020-12-20 (Sun, 20 Dec 2020)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-member-init.cpp
Log Message:
-----------
[clang-tidy] cppcoreguidelines-pro-type-member-init: suppress warning for default member funcs
Modify the cppcoreguidelines-pro-type-member-init checker to ignore warnings from the move and copy-constructors when they are compiler defined with `= default` outside of the type declaration.
Reported as [LLVM bug 36819](https://bugs.llvm.org/show_bug.cgi?id=36819)
Reviewed By: malcolm.parsons
Differential Revision: https://reviews.llvm.org/D93333
More information about the All-commits
mailing list