зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1743020 - Part 1: Opt third-party paths out of NoExplicitMoveConstructor checker, r=andi
The function2 library uses an explicit move constructor internally, which would trigger this checker, and cause a build failure. Differential Revision: https://phabricator.services.mozilla.com/D145689
This commit is contained in:
Родитель
aa4c090305
Коммит
7086a045e0
|
@ -8,7 +8,9 @@
|
|||
void NoExplicitMoveConstructorChecker::registerMatchers(
|
||||
MatchFinder *AstMatcher) {
|
||||
AstMatcher->addMatcher(
|
||||
cxxConstructorDecl(isExplicitMoveConstructor()).bind("node"), this);
|
||||
cxxConstructorDecl(isExplicitMoveConstructor(), isFirstParty())
|
||||
.bind("node"),
|
||||
this);
|
||||
}
|
||||
|
||||
void NoExplicitMoveConstructorChecker::check(
|
||||
|
|
Загрузка…
Ссылка в новой задаче