[PATCH] D30610: [clang-tidy] Added options to cppcoreguidelines-special-member-functions check
Florian Gross via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 4 15:28:10 PST 2017
fgross marked 6 inline comments as done.
fgross added inline comments.
================
Comment at: clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp:110
+ ClassWithSpecialMembers[ID];
+ if (find(Members, Kind) == Members.end())
+ Members.push_back(Kind);
----------------
aaron.ballman wrote:
> Please qualify the find with std::, here and elsewhere.
It's actually llvm::; added namespace and switched to is_contained.
https://reviews.llvm.org/D30610
More information about the cfe-commits
mailing list