summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2018-01-01 13:27:01 +0000
committerSerge Pavlov <sepavloff@gmail.com>2018-01-01 13:27:01 +0000
commit208ac6547c4f98c75e76a79f13a8d4f9d1076ab2 (patch)
tree1bb7c7ffe6d406dd73a2ace35907d783063a5230 /clang/lib/Sema/SemaDecl.cpp
parente337268df786bb434ad092a20bcaa4a7d459974a (diff)
downloadbcm5719-llvm-208ac6547c4f98c75e76a79f13a8d4f9d1076ab2.tar.gz
bcm5719-llvm-208ac6547c4f98c75e76a79f13a8d4f9d1076ab2.zip
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
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud