Author: Ron Gut
Date: 2025-02-07T11:04:24-05:00
New Revision: d0170424b7250bf5cda0e6253ec62112a6e1c92a

URL: 
https://github.com/llvm/llvm-project/commit/d0170424b7250bf5cda0e6253ec62112a6e1c92a
DIFF: 
https://github.com/llvm/llvm-project/commit/d0170424b7250bf5cda0e6253ec62112a6e1c92a.diff

LOG: [emacs][clang-format] Suppress reference to free variable errors (#126254)

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

Added: 
    

Modified: 
    clang/tools/clang-format/clang-format.el

Removed: 
    


################################################################################
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