diff options
Diffstat (limited to 'clang/docs/LibASTMatchersReference.html')
-rw-r--r-- | clang/docs/LibASTMatchersReference.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 2bb6915e92d..75deea40e13 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -1820,11 +1820,13 @@ matches A and C::f, but not B, C, or B::f operator. Given - struct S { - S(const S &); #1 - S& operator=(S &&); #2 - }; -cxxMethodDecl(isMoveAssignmentOperator()) will match #2, but not #1. +struct A { + A &operator=(const A &); + A &operator=(A &&); +}; + +cxxMethodDecl(isMoveAssignmentOperator()) matches the second method but not +the first one. </pre></td></tr> |