Replace hardcoded comment at 'lit.site.cfg.in'

At the moment almost every lit.site.cfg.in contains two lines comment:

  ## Autogenerated by LLVM/Clang configuration.
  # Do not edit!

The patch adds variable LIT_SITE_CFG_IN_HEADER, that is replaced from
configure_lit_site_cfg with the note and some useful information.

llvm-svn: 266518
This commit is contained in:
Alex Denisov 2016-04-16 07:01:42 +00:00
parent 2d28f7aa07
commit 71c8440e55
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
config.extra_tools_obj_dir = "@CLANG_TOOLS_BINARY_DIR@/unittests"
config.extra_tools_src_dir = "@CLANG_TOOLS_SOURCE_DIR@/unittests"
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"

View File

@ -1,7 +1,7 @@
@LIT_SITE_CFG_IN_HEADER@
import sys
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"