From a12d0b0e0159b8f533297b291c79489a6322de3e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 30 Aug 2018 22:11:16 +0000 Subject: [PATCH] Remove LIT_SITE_CFG_IN_FOOTER, clang 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lit.site.cfg.py.in b/test/lit.site.cfg.py.in index d76f8aa672..405367e40c 100644 --- a/test/lit.site.cfg.py.in +++ b/test/lit.site.cfg.py.in @@ -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") -- 2.40.0