]> code.delx.au - gnu-emacs-elpa/commitdiff
Include macros in clang completions.
authorNikolaj Schumacher <git@nschum.de>
Sat, 27 Feb 2010 10:45:10 +0000 (11:45 +0100)
committerNikolaj Schumacher <git@nschum.de>
Sat, 18 Jun 2011 12:38:31 +0000 (14:38 +0200)
company-clang.el

index b0545993dfbf761d049cfb38d1b07fe30e606cdf..5aaaa1d272c7401e135bf067a220e52c5b183576 100644 (file)
@@ -145,7 +145,7 @@ Prefix files (-include ...) can be selected with
             (1+ (current-column)))))
 
 (defsubst company-clang--build-complete-args (pos)
-  (append '("-cc1" "-fsyntax-only")
+  (append '("-cc1" "-fsyntax-only" "-code-completion-macros")
           company-clang-arguments
           (when (stringp company-clang--prefix)
             (list "-include" (expand-file-name company-clang--prefix)))