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

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

[elpa] master 6274149 03/40: Add Embarcadero clang-based compilers to co


From: Dmitry Gutov
Subject: [elpa] master 6274149 03/40: Add Embarcadero clang-based compilers to company-clang-version
Date: Thu, 2 Jan 2020 18:56:59 -0500 (EST)

branch: master
commit 6274149fcab24aa735bebbc7de7b02b8f4d7fb74
Author: Matthijs Kool <address@hidden>
Commit: Matthijs Kool <address@hidden>

    Add Embarcadero clang-based compilers to company-clang-version
---
 company-clang.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company-clang.el b/company-clang.el
index c0899b6..d764905 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -297,7 +297,8 @@ or automatically through a custom 
`company-clang-prefix-guesser'."
   (with-temp-buffer
     (call-process company-clang-executable nil t nil "--version")
     (goto-char (point-min))
-    (if (re-search-forward "\\(clang\\|Apple LLVM\\) version \\([0-9.]+\\)" 
nil t)
+    (if (re-search-forward
+         "\\(clang\\|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]