[all-commits] [llvm/llvm-project] 67e6a3: [clang] Remove `HelpHidden` from the `-resource-di...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Wed Oct 15 04:55:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67e6a376209c9cc9576012c1c042bee9b852d584
      https://github.com/llvm/llvm-project/commit/67e6a376209c9cc9576012c1c042bee9b852d584
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td

  Log Message:
  -----------
  [clang] Remove `HelpHidden` from the `-resource-dir` option (#163131)

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 <carlos.galvez at zenseact.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list