[PATCH] D144179: [Clang] Added functionality to provide config file name via env variable

Jolanta Jensen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 20 06:33:56 PST 2023


jolanta.jensen added a comment.

In D144179#4132597 <https://reviews.llvm.org/D144179#4132597>, @MaskRay wrote:

> Behaviors due to a new environment variable should be very careful. How is this useful? If you want this, you can add a wrapper around `clang` to specify `--config=` by yourself.
>
> Think about this: if the user sets `CONFIG_FILE=` to something, it will be difficult for toolchain maintainers to triage a bug.

The feature is aimed at system administrators rather than an individual user. It simplifies system configuration so the user does not need to configure anything him/herself.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144179/new/

https://reviews.llvm.org/D144179



More information about the cfe-commits mailing list