================
@@ -0,0 +1,40 @@
+//===- AssignmentQuery.cpp - C++ Lifetime Safety Checker --------*- C++ 
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM 
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements trackAssignmentHistory.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/Analysis/Analyses/LifetimeSafety/AssignmentQuery.h"
+
+namespace clang::lifetimes::internal {
+void trackAssignmentHistory(
+    const FactManager &FactMgr, const LoanPropagationAnalysis &LoanPropagation,
+    llvm::SmallVectorImpl<AssignmentUnit> &AssignmentList,
+    const CFGBlock *StartBlock, OriginID StartOID, const LoanID &EndLoanID) {
----------------
usx95 wrote:

LoanID can be accepted by value instead of a reference.

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

Reply via email to