[all-commits] [llvm/llvm-project] 2f2041: Add AllowMissingMoveFunctionsWhenCopyIsDeleted fla...
AaronBallman via All-commits
all-commits at lists.llvm.org
Mon Mar 16 05:14:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2f20417ef04781cd5019b9a99b85df4790bdf525
https://github.com/llvm/llvm-project/commit/2f20417ef04781cd5019b9a99b85df4790bdf525
Author: Paweł Barań <pbaran at opera.com>
Date: 2020-03-16 (Mon, 16 Mar 2020)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp
Log Message:
-----------
Add AllowMissingMoveFunctionsWhenCopyIsDeleted flag to cppcoreguidelines-special-member-functions
The flag allows classes to don't define move operations when copy operations
are explicitly deleted. This flag is related to Google C++ Style Guide
https://google.github.io/styleguide/cppguide.html#Copyable_Movable_Types
More information about the All-commits
mailing list