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

lldb/lit/Unit/lit.site.cfg.in
lldb/lit/lit.site.cfg.in

index 61c8179..6d83023 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 10f3033..f410550 100644 (file)
@@ -1,5 +1,5 @@
-## Autogenerated by LLVM/lldb 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@"