Commit f53b9ca8 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Merge branch 'ondrej/update-dir-locals.el-for-config.h' into 'master'

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

See merge request !1888
parents cc320802 7d05ae8b
Pipeline #14011 passed with stages
in 3 minutes and 11 seconds
......@@ -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"))
)
)
)
))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment