[PATCH] D109621: [clang] [Driver] Fall back to default.cfg when calling clang w/o prefix
Serge Pavlov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 19 03:01:53 PDT 2022
sepavloff added inline comments.
================
Comment at: clang/docs/UsersManual.rst:915
+in the directory where Clang resides. If Clang is started via an executable
+without target prefix, Clang will use ``default.cfg`` instead.
----------------
What about using default config based on driver mode (clang.cfg, gcc.cfg etc)? It looks like a more flexible solution, - different driver modes may need different default settings. Even if these setting are identical, the default config files may be links to one, say `clang.cfg` or just include that file with `@file`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109621/new/
https://reviews.llvm.org/D109621
More information about the cfe-commits
mailing list