[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 11/52: company-clang--build-complete-args: don't call -cc1 direct
From: |
Dmitry Gutov |
Subject: |
[elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly |
Date: |
Tue, 01 Jul 2014 11:53:09 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 8a9be8620ee5d84cfdb6a37e76ebed4cf73dc8a4
Author: Dmitry Gutov <address@hidden>
Date: Sun May 18 01:40:09 2014 +0300
company-clang--build-complete-args: don't call -cc1 directly
#111
---
company-clang.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/company-clang.el b/company-clang.el
index a53a296..041754f 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -217,14 +217,14 @@ or automatically through a custom
`company-clang-prefix-guesser'."
t))))))
(defsubst company-clang--build-complete-args (pos)
- (append '("-cc1" "-fsyntax-only" "-code-completion-macros")
+ (append '("-fsyntax-only" "-Xclang" "-code-completion-macros")
(unless (company-clang--auto-save-p)
(list "-x" (company-clang--lang-option)))
company-clang-arguments
(when (stringp company-clang--prefix)
(list "-include" (expand-file-name company-clang--prefix)))
- '("-code-completion-at")
- (list (company-clang--build-location pos))
+ (list "-Xclang" (format "-code-completion-at=%s"
+ (company-clang--build-location pos)))
(list (if (company-clang--auto-save-p) buffer-file-name "-"))))
(defun company-clang--candidates (prefix callback)
- [elpa] branch master updated (9b6551e -> c828ee6), Dmitry Gutov, 2014/07/01
- [elpa] 01/52: Don't require pysmell during compile., Dmitry Gutov, 2014/07/01
- [elpa] 04/52: company-clang: tweak the objc args recognition, Dmitry Gutov, 2014/07/01
- [elpa] 02/52: Fix #103, Dmitry Gutov, 2014/07/01
- [elpa] 05/52: Respect tooltip align annotations in company-yasnippet., Dmitry Gutov, 2014/07/01
- [elpa] 08/52: company-search-map: bind DEL to company-search-other-char, Dmitry Gutov, 2014/07/01
- [elpa] 07/52: Account for the line continuation column in graphical mode, Dmitry Gutov, 2014/07/01
- [elpa] 09/52: company-sort-by-occurrence: include words on the same line, too, Dmitry Gutov, 2014/07/01
- [elpa] 06/52: Merge pull request #106 from proofit404/master, Dmitry Gutov, 2014/07/01
- [elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly,
Dmitry Gutov <=
- [elpa] 10/52: company--multi-backend-adapter-candidates: compare string values of prefix, Dmitry Gutov, 2014/07/01
- [elpa] 12/52: company-clang--annotation: include method qualifiers in the annotation, Dmitry Gutov, 2014/07/01
- [elpa] 13/52: NEWS: document the change in clang invocation, Dmitry Gutov, 2014/07/01
- [elpa] 14/52: company--continue: don't pass the new prefix to `company-cancel', Dmitry Gutov, 2014/07/01
- [elpa] 15/52: company-files-complete: move files in subdirs to the end, Dmitry Gutov, 2014/07/01
- [elpa] 16/52: Introduce company-tooltip-flip-when-above, Dmitry Gutov, 2014/07/01
- [elpa] 17/52: Fix typo, Dmitry Gutov, 2014/07/01
- [elpa] 18/52: extended gtags functionality #90 showing annotations and meta, Dmitry Gutov, 2014/07/01
- [elpa] 21/52: Merge pull request #126 from ksjogo/gtags, Dmitry Gutov, 2014/07/01
- [elpa] 19/52: fixing let in gtags annotation, Dmitry Gutov, 2014/07/01