Module: check_mk
Branch: master
Commit: 9ff3249217941ac31de529373f8a05ba2a2ad42c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9ff3249217941a…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Aug 21 16:13:50 2017 +0200
Added configuration files for auto-completion via clang.
Strictly speaking, the .clang_complete files are artifacts, because they
could be generated from Makefile.am, perhaps via compile_commands.json.
(BTW: Why on earth does clang_complete insist on its own creative home-grown
format when there is a perfectly fine, standardized format: clang's
compilation database compile_commands.json, invented just for tools like
this? >:-P Yet another instance of "not invented here"...) OTOH, their
content will change only very infrequently, and having some sane
configuration for editing right out of the box is very convenient.
Perhaps this is a tradeoff we might reconsider in the future...
Change-Id: I6afa3246b315ede31834f082ee7a842cfe61d447
---
livestatus/src/.clang_complete | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/livestatus/src/.clang_complete b/livestatus/src/.clang_complete
new file mode 100644
index 0000000..22f5fdd
--- /dev/null
+++ b/livestatus/src/.clang_complete
@@ -0,0 +1,7 @@
+-I.
+-I../..
+-I..
+-DHAVE_CONFIG_H
+-std=c++14
+-Wall
+-Wextra