Adjust .dir-locals.el to make clang always include config.h

This commit is contained in:
Ondřej Surý 2019-05-02 10:52:08 +02:00
parent cc32080278
commit 7d05ae8b1d

View file

@ -60,5 +60,12 @@
(eval setq flycheck-clang-include-path include-directories)
(eval setq flycheck-cppcheck-include-path include-directories)
(eval setq flycheck-clang-args
(list
"-include"
(expand-file-name
(concat directory-of-current-dir-locals-file "config.h"))
)
)
)
))