================
@@ -132,7 +132,8 @@ makeReinitMatcher(const ValueDecl *MovedVariable,
                  // operator, test for built-in assignment as well, since
                  // template functions may be instantiated to use std::move() 
on
                  // built-in types.
-                 binaryOperation(hasOperatorName("="), hasLHS(DeclRefMatcher)),
+                 binaryOperation(hasOperatorName("="),
+                                 hasLHS(ignoringImpCasts(DeclRefMatcher))),
----------------
flovent wrote:

I think you mean `(d) = b`? yes, i change to `ignoringParenImpCasts` now.

https://github.com/llvm/llvm-project/pull/197438
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to