git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de5706
)
waf: Create clang compilation database
author
Andreas Schneider
<asn@samba.org>
Tue, 25 Sep 2018 16:13:26 +0000
(18:13 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 24 Oct 2019 06:48:08 +0000
(06:48 +0000)
http://clang.llvm.org/docs/JSONCompilationDatabase.html
This can be used by ymcd or clangd.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
buildtools/wafsamba/wscript
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wscript
b/buildtools/wafsamba/wscript
index ce5e0b48fc1060ae18493b5b25d219b37dfdcf78..2b4423e2fa720de009b728d9471e204b41f35ca7 100644
(file)
--- a/
buildtools/wafsamba/wscript
+++ b/
buildtools/wafsamba/wscript
@@
-597,6
+597,8
@@
struct foo bar = { .y = 'X', .x = 1 };
if conf.env.enable_libfuzzer:
conf.DEFINE('ENABLE_LIBFUZZER', 1)
+ conf.load('clang_compilation_database')
+
conf.SAMBA_BUILD_ENV()