branch: master commit 1120b56bd1154a17e4c0b950cbdba4c85be28e2a Merge: ad6ff0e 6274149 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: GitHub <nore...@github.com>
Merge pull request #908 from matthijsk/embarcadero 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