[clang] 19c664f - Fix typo in clang lit config

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 01:38:01 PST 2020


Author: serge-sans-paille
Date: 2020-02-26T10:37:04+01:00
New Revision: 19c664f71e887111298e49e416511f8be7b2b15f

URL: https://github.com/llvm/llvm-project/commit/19c664f71e887111298e49e416511f8be7b2b15f
DIFF: https://github.com/llvm/llvm-project/commit/19c664f71e887111298e49e416511f8be7b2b15f.diff

LOG: Fix typo in clang lit config

Typo introduced in e058667a2e017d3225a9bb067dbac7f2159576f7

Added: 
    

Modified: 
    clang/test/lit.site.cfg.py.in

Removed: 
    


################################################################################
diff  --git a/clang/test/lit.site.cfg.py.in b/clang/test/lit.site.cfg.py.in
index 1f37ad935bd4..39c8b47adf92 100644
--- a/clang/test/lit.site.cfg.py.in
+++ b/clang/test/lit.site.cfg.py.in
@@ -47,7 +47,7 @@ import lit.llvm
 lit.llvm.initialize(lit_config, config)
 
 if not "@CLANG_DEFAULT_LINKER@":
-    config.available_features('platform-linker')
+    config.available_features.add('platform-linker')
 
 # Let the main config do the real work.
 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg.py")


        


More information about the cfe-commits mailing list