Replace hardcoded comment at 'lit.site.cfg.in'
authorAlex Denisov <1101.debian@gmail.com>
Sat, 16 Apr 2016 07:09:39 +0000 (07:09 +0000)
committerAlex Denisov <1101.debian@gmail.com>
Sat, 16 Apr 2016 07:09:39 +0000 (07:09 +0000)
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: 266521

lld/test/Unit/lit.site.cfg.in
lld/test/lit.site.cfg.in

index 74c5eca..c2f3054 100644 (file)
@@ -1,5 +1,5 @@
-## Autogenerated by LLVM/lld configuration.
-# Do not edit!
+@LIT_SITE_CFG_IN_HEADER@
+
 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
index 0eeb889..09b29a9 100644 (file)
@@ -1,5 +1,5 @@
-## Autogenerated by LLVM/lld configuration.
-# Do not edit!
+@LIT_SITE_CFG_IN_HEADER@
+
 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"