llvm-project/clang/test/Driver/Inputs/config
Serge Pavlov 208ac6547c Enable configuration files in clang
Clang is inherently a cross compiler and can generate code for any target
enabled during build. It however requires to specify many parameters in the
invocation, which could be hardcoded during configuration process in the
case of single-target compiler. The purpose of configuration files is to
make specifying clang arguments easier.

A configuration file is a collection of driver options, which are inserted
into command line before other options specified in the clang invocation.
It groups related options together and allows specifying them in simpler,
more flexible and less error prone way than just listing the options
somewhere in build scripts. Configuration file may be thought as a "macro"
that names an option set and is expanded when the driver is called.

Use of configuration files is described in `UserManual.rst`.

Differential Revision: https://reviews.llvm.org/D24933

llvm-svn: 321621
2018-01-01 13:27:01 +00:00
..
config-4.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
i386-qqq.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
i386-qqq3.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
x86_64-qqq.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
x86_64-qqq2.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
x86_64.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00