[PATCH] D109621: [clang][Driver] Default to loading clang.cfg if config file not specified

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 10:20:51 PDT 2022


mgorny planned changes to this revision.
mgorny added a reviewer: MaskRay.
mgorny added a comment.
Herald added a subscriber: StephenFan.

So far my plan is to go for `default-{ModeSuffix}.cfg` instead (e.g. `default-clang.cfg`, `default-clang++.cfg`, etc.). If I'm not mistaken, this will trigger the existing fallback logic stripping mode suffix and trying `default.cfg` if suffixed config is not found. Also add tests ;-).


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

https://reviews.llvm.org/D109621



More information about the cfe-commits mailing list