diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2018-01-01 13:27:01 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2018-01-01 13:27:01 +0000 |
commit | 5f7f2c06ee10be2b2b9f53d61d12d06fb7be3ff6 (patch) | |
tree | bda254990323d7bfebc1f0ee6c878dacba3606e6 /test/SemaTemplate | |
parent | 20f9e21530dc55f3d9e5910787cdc49f17c060ff (diff) | |
download | clang-5f7f2c06ee10be2b2b9f53d61d12d06fb7be3ff6.tar.gz |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate')
0 files changed, 0 insertions, 0 deletions