      . ,(list "-std=c++11" ; use C++11 by default
               (when IS-MAC
                 ;; NOTE beware: you'll get abi-inconsistencies when passing
-                ;; std-objects to libraries linked with libstdc++ (e.g. if you use
-                ;; boost which wasn't compiled with libc++)
+                ;; std-objects to libraries linked with libstdc++ (e.g. if you
+                ;; use boost which wasn't compiled with libc++)
                 (list "-stdlib=libc++"))))
     (objc-mode . nil))
   "A list of default compiler options for the C family. These are ignored if a

;;; lang/cc/config.el --- c, c++, and obj-c -*- lexical-binding: t; -*-

(defvar +cc-include-paths (list "include/")
  "A list of paths, relative to a project root, to search for headers in
C/C++. Paths can be absolute.

The purpose of this variable is to ensure syntax checkers and code-completion
knows where to look for headers.")

         (equal (file-name-extension buffer-file-name) "h")
         (re-search-forward "@\\<interface\\>" magic-mode-regexp-match-limit t)))

  (push (cons #'+cc-c++-header-file-p  'c++-mode)  magic-mode-alist)
  (push (cons #'+cc-objc-header-file-p 'objc-mode) magic-mode-alist)

  :init
