diff options
author | David Robillard <d@drobilla.net> | 2021-01-10 17:00:23 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-10 20:03:21 +0100 |
commit | 4791d8dfc7f0cdf568bfe1efd5c53c1b818b2a81 (patch) | |
tree | 1852061c8f7e36a85074397b36d8b5e232ab587d | |
parent | eca8f88f0ec91b21612facfe8d8480b1d84b60ad (diff) | |
download | serd-4791d8dfc7f0cdf568bfe1efd5c53c1b818b2a81.tar.gz serd-4791d8dfc7f0cdf568bfe1efd5c53c1b818b2a81.tar.bz2 serd-4791d8dfc7f0cdf568bfe1efd5c53c1b818b2a81.zip |
Add clant configuration
Older versions of include-what-you-use do not understand stdint.h for some
reason, so add some local configuration for this for now.
-rw-r--r-- | .clant.json | 4 | ||||
-rw-r--r-- | .includes.imp | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.clant.json b/.clant.json new file mode 100644 index 00000000..76cae6d3 --- /dev/null +++ b/.clant.json @@ -0,0 +1,4 @@ +{ + "version": "1.0.0", + "mapping_files": [".includes.imp"] +} diff --git a/.includes.imp b/.includes.imp new file mode 100644 index 00000000..07b654dd --- /dev/null +++ b/.includes.imp @@ -0,0 +1,6 @@ +[ + { "symbol": [ "int64_t", "private", "<stdint.h>", "public" ] }, + { "symbol": [ "uint32_t", "private", "<stdint.h>", "public" ] }, + { "symbol": [ "uint64_t", "private", "<stdint.h>", "public" ] }, + { "symbol": [ "uint8_t", "private", "<stdint.h>", "public" ] }, +] |