[clang] Suppress reference to free variable errors (PR #126254)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 7 07:46:37 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-format
Author: Ron Gut (gutron)
<details>
<summary>Changes</summary>
vc-git-program is referenced but not defined -- vc-git provides the definition.
---
Full diff: https://github.com/llvm/llvm-project/pull/126254.diff
1 Files Affected:
- (modified) clang/tools/clang-format/clang-format.el (+1)
``````````diff
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."
``````````
</details>
https://github.com/llvm/llvm-project/pull/126254
More information about the cfe-commits
mailing list