From: Nico Weber Date: Thu, 30 Aug 2018 22:10:13 +0000 (+0000) Subject: Remove LIT_SITE_CFG_IN_FOOTER, clang-tools-extra X-Git-Tag: llvmorg-8.0.0-rc1~9731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b737d4d56061dffc3ef7d07dc72c7b212b0e77b2;p=platform%2Fupstream%2Fllvm.git Remove LIT_SITE_CFG_IN_FOOTER, clang-tools-extra 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 llvm-svn: 341130 --- diff --git a/clang-tools-extra/test/lit.site.cfg.in b/clang-tools-extra/test/lit.site.cfg.in index 948e469..bea2dbf 100644 --- a/clang-tools-extra/test/lit.site.cfg.in +++ b/clang-tools-extra/test/lit.site.cfg.in @@ -23,7 +23,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_TOOLS_SOURCE_DIR@/test/lit.cfg")