[clang-tools-extra] r341130 - Remove LIT_SITE_CFG_IN_FOOTER, clang-tools-extra
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 30 15:10:13 PDT 2018
Author: nico
Date: Thu Aug 30 15:10:13 2018
New Revision: 341130
URL: http://llvm.org/viewvc/llvm-project?rev=341130&view=rev
Log:
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
Modified:
clang-tools-extra/trunk/test/lit.site.cfg.in
Modified: clang-tools-extra/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/lit.site.cfg.in?rev=341130&r1=341129&r2=341130&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/lit.site.cfg.in (original)
+++ clang-tools-extra/trunk/test/lit.site.cfg.in Thu Aug 30 15:10:13 2018
@@ -23,7 +23,8 @@ except KeyError:
key, = e.args
lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
- at 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")
More information about the cfe-commits
mailing list