================
@@ -53,6 +53,17 @@ struct Lattice {
}
};
+static SourceLocation
+GetFactLoc(llvm::PointerUnion<const UseFact *, const OriginEscapesFact *> F) {
+ if (const auto *UF = F.dyn_cast<const UseFact *>())
+ return UF->getUseExpr()->getExprLoc();
+
----------------
kashika0112 wrote:Done https://github.com/llvm/llvm-project/pull/165370 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
