Commit 67e6a37
Currently the "getter" option `-print-resource-dir` is visible when
typing `--help`, but the corresponding "setter" option `-resource-dir`
is not.
This option is useful when one is using clang on a non-standard
location, or when one is building a libtooling-based tool (e.g. IWYU)
based on a local clang build. In that case, we need to specify the
correct path to the resource directory for things to work.
Existing documentation already makes use of this option, for example
here:
https://clang.llvm.org/docs/StandardCPlusPlusModules.html#possible-issues-failed-to-find-system-headers
There is thus no reason to keep this option hidden from the help and
documentation.
---------
Co-authored-by: Carlos Gálvez <[email protected]>
1 parent 8615193 commit 67e6a37
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6122 | 6122 | | |
6123 | 6123 | | |
6124 | 6124 | | |
6125 | | - | |
| 6125 | + | |
6126 | 6126 | | |
6127 | 6127 | | |
6128 | 6128 | | |
| |||
0 commit comments