================
@@ -227,6 +227,14 @@ ANALYZER_OPTION(
     "the number of nondeterministic diagnostics than "
     "\"crosscheck-with-z3-timeout-threshold\" in practice.", 3)
 
+ANALYZER_OPTION(
+    StringRef, UnityBuildFileExtensions, "unitybuild-file-extensions",
+    "Semicolon-separated file extensions (including leading dots, e.g. "
+    "'.cpp;.impl;.c') of included files whose functions are considered "
+    "analysis entry points, regardless of the including file's name. "
+    "Empty by default.",
----------------
NagyDonat wrote:

```suggestion
    "analysis entry points, regardless of the including file's name. ",
```
There is no need to textually describe the default value.

The documentation generated from this file already mentions the default value 
and e.g. says "Default value: (empty string)" for 
[ctu-dir](https://clang.llvm.org/docs/analyzer/user-docs/Options.html#ctu-dir).

I hope that the command-line config option list can also format this default 
value nicely; if not, we should improve its logic (in a separate change).



https://github.com/llvm/llvm-project/pull/242339
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to