================
@@ -33,14 +33,19 @@ handleFrom(const 
ast_matchers::internal::Matcher<RecordDecl> &IsAHandle,
 
 ast_matchers::internal::Matcher<Stmt> handleFromTemporaryValue(
     const ast_matchers::internal::Matcher<RecordDecl> &IsAHandle) {
+
+  const auto TemporaryExpr =
+      anyOf(cxxBindTemporaryExpr(),
+            cxxFunctionalCastExpr(hasCastKind(CK_ConstructorConversion),
+                                  
hasSourceExpression(cxxBindTemporaryExpr())));
----------------
HerrCai0907 wrote:

Should be  `ignorePareImpCast(cxxBindTemporaryExpr)`

https://github.com/llvm/llvm-project/pull/69067
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to