summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-25 04:14:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-25 04:14:09 +0200
commit5ddcfe0a748cd85ddb3fb45bfdbee97548e13df4 (patch)
treeb4c9847f3f52cc265c122a47c366304aebcd9e82
parent6103f4ea865ab52e44880edd022f2bfa9b4e6ede (diff)
Update feature: Support for Clang compilation database
-rw-r--r--build2/compilation-database18
1 files changed, 17 insertions, 1 deletions
diff --git a/build2/compilation-database b/build2/compilation-database
index 1a9705a..c5a6dea 100644
--- a/build2/compilation-database
+++ b/build2/compilation-database
@@ -1,4 +1,20 @@
-- Support for Compilation Database [feature]
+- Support for Clang compilation database [feature]
+
+Notes
+=====
+
+* For static analysis tools it can be important to "see" across projects.
+ Though current Clang tools are all single translation unit.
+
+* Incremental analysis seems to be important (i.e., only re-analyse TUs that
+ have chnaged).
+
+Questions
+=========
+
+* Will the database be per-amalgamation?
+
+---
Number of CLang-based C/C++ code analyzing tools (such as clang-check,
clang-format, clang-tidy) require compilation flags to be provided for the