[llvm] r364591 - [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 13:56:06 PDT 2019


Author: rnk
Date: Thu Jun 27 13:56:04 2019
New Revision: 364591

URL: http://llvm.org/viewvc/llvm-project?rev=364591&view=rev
Log:
[compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*

These lit configuration files are really Python source code. Using the
.py file extension helps editors and tools use the correct language
mode. LLVM and Clang already use this convention for lit configuration,
this change simply applies it to all of compiler-rt.

Reviewers: vitalybuka, dberris

Differential Revision: https://reviews.llvm.org/D63658

Modified:
    llvm/trunk/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn?rev=364591&r1=364590&r2=364591&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn Thu Jun 27 13:56:04 2019
@@ -5,8 +5,8 @@ import("//llvm/utils/gn/build/write_cmak
 import("//llvm/version.gni")
 
 write_cmake_config("lit_site_cfg") {
-  input = "lit.site.cfg.in"
-  output = "$target_gen_dir/lit.site.cfg"
+  input = "lit.site.cfg.py.in"
+  output = "$target_gen_dir/lit.site.cfg.py"
 
   values = [
     "LIT_SITE_CFG_IN_HEADER=## Autogenerated from $input, do not edit",




More information about the llvm-commits mailing list