]> granicus.if.org Git - clang/commitdiff
Remove LIT_SITE_CFG_IN_FOOTER, clang
authorNico Weber <nicolasweber@gmx.de>
Thu, 30 Aug 2018 22:11:16 +0000 (22:11 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 30 Aug 2018 22:11:16 +0000 (22:11 +0000)
It's always replaced with the same (short) static string, so just put that
there directly.

No intended behavior change.
https://reviews.llvm.org/D51357

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341132 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.site.cfg.py.in

index d76f8aa6720850479b804a19448a9be4ce37c30b..405367e40c859d4290c7bdc9419ea2d49fa13f8a 100644 (file)
@@ -40,7 +40,8 @@ except KeyError:
     key, = e.args
     lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
 
-@LIT_SITE_CFG_IN_FOOTER@
+import lit
+lit.llvm.initialize(lit_config, config)
 
 # Let the main config do the real work.
 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg.py")