https://github.com/gutron created 
https://github.com/llvm/llvm-project/pull/126254

vc-git-program is referenced but not defined -- vc-git provides the definition.

>From 598b1c0df4991b1fb63b54dd358b40103912b80b Mon Sep 17 00:00:00 2001
From: Ron Gut <65685404+gut...@users.noreply.github.com>
Date: Fri, 7 Feb 2025 10:45:13 -0500
Subject: [PATCH] Suppress reference to free variable errors

vc-git-program is referenced but not defined -- vc-git provides the definition.
---
 clang/tools/clang-format/clang-format.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/tools/clang-format/clang-format.el 
b/clang/tools/clang-format/clang-format.el
index 54ab2e1fd4c6128..b356e1bfa143618 100644
--- a/clang/tools/clang-format/clang-format.el
+++ b/clang/tools/clang-format/clang-format.el
@@ -32,6 +32,7 @@
 
 (require 'cl-lib)
 (require 'xml)
+(require 'vc-git)
 
 (defgroup clang-format nil
   "Format code using clang-format."

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to