Commit c15afcd
Carlos Gálvez
Make the 'resource-dir' flag public
Currently the "getter" flag '-print-resource-dir' is public, but the
corresponding "setter" flag '-resource-dir' is not.
This flag 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 flag, 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 flag hidden.1 parent 7275256 commit c15afcd
1 file changed
+1
-1
lines changed| 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