================
@@ -53,6 +53,16 @@ struct Lattice {
   }
 };
 
+static SourceLocation GetFactLoc(const Fact &F) {
+  if (const auto *UF = F.getAs<UseFact>()) {
+    return UF->getUseExpr()->getExprLoc();
+  }
----------------
usx95 wrote:

nit: remove braces here as well.

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

Reply via email to