================
@@ -1048,7 +1197,10 @@ class FixableGadget : public Gadget {
   }
 };
 
-static auto toSupportedVariable() { return to(varDecl()); }
+static auto toSupportedVariable(const DeclRefExpr &Node) {
----------------
ilya-biryukov wrote:

NIT: replace `auto` with `bool`, rename to `isSupportedVariable` since it's now 
a predicate function.

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

Reply via email to