emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/company 3d97a52c15 1/2: fix company-clang-version funct


From: ELPA Syncer
Subject: [elpa] externals/company 3d97a52c15 1/2: fix company-clang-version function
Date: Fri, 29 Jul 2022 08:57:23 -0400 (EDT)

branch: externals/company
commit 3d97a52c15793f66cbe187cfa987856969054d3d
Author: yuchunzhou <109280366+yuchunzhou@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    fix company-clang-version function
---
 company-clang.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-clang.el b/company-clang.el
index 5d8ca5a5f4..9230dae166 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -349,7 +349,7 @@ or automatically through a custom 
`company-clang-prefix-guesser'."
     (call-process company-clang-executable nil t nil "--version")
     (goto-char (point-min))
     (if (re-search-forward
-         "\\(clang\\|Apple LLVM\\|bcc32x\\|bcc64\\) version \\([0-9.]+\\)" nil 
t)
+         "\\(clang\\|\\clangd\\|Apple LLVM\\|bcc32x\\|bcc64\\) version 
\\([0-9.]+\\)" nil t)
         (cons
          (if (equal (match-string-no-properties 1) "Apple LLVM")
              'apple



reply via email to

[Prev in Thread] Current Thread [Next in Thread]