================
@@ -751,9 +757,13 @@ void FactsGenerator::handleUse(const Expr *E) {
   }
 }
 
-void FactsGenerator::markUseAsWrite(const DeclRefExpr *DRE) {
-  if (UseFacts.contains(DRE))
+void FactsGenerator::markUseAsWrite(const DeclRefExpr *DRE,
+                                    bool IsReferenceWrite) {
+  if (UseFacts.contains(DRE)) {
----------------
aeft wrote:

Thanks for the suggestion! Used lookup instead of find + iterator since we only 
need the value here.

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

Reply via email to