Commit 7b70208
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 c15afcd commit 7b70208
1 file changed
+1
-1
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 | | |
| |||
0 commit comments