[libcxx-commits] [libcxx] 3f2f7f8 - [libc++] Remove unused lit substitutions

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 27 07:09:08 PDT 2020


Author: Louis Dionne
Date: 2020-03-27T10:08:57-04:00
New Revision: 3f2f7f895a849a3247625482b15491ed2103ccf4

URL: https://github.com/llvm/llvm-project/commit/3f2f7f895a849a3247625482b15491ed2103ccf4
DIFF: https://github.com/llvm/llvm-project/commit/3f2f7f895a849a3247625482b15491ed2103ccf4.diff

LOG: [libc++] Remove unused lit substitutions

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/config.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 1931986d8ad0..2c103d57097d 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -1054,26 +1054,19 @@ def configure_substitutions(self):
         sub.append(('%flags', flags_str))
         sub.append(('%compile_flags', compile_flags_str))
         sub.append(('%link_flags', link_flags_str))
-        sub.append(('%all_flags', all_flags))
         if self.cxx.isVerifySupported():
             verify_str = ' ' + ' '.join(self.cxx.verify_flags) + ' '
             sub.append(('%verify', verify_str))
         # Add compile and link shortcuts
         compile_str = (cxx_path + ' -o %t.o %s -c ' + flags_str
                        + ' ' + compile_flags_str)
-        link_str = (cxx_path + ' -o %t.exe %t.o ' + flags_str + ' '
-                    + link_flags_str)
-        assert type(link_str) is str
         build_str = cxx_path + ' -o %t.exe %s ' + all_flags
         if self.cxx.use_modules:
-            sub.append(('%compile_module', compile_str))
             sub.append(('%build_module', build_str))
         elif self.cxx.modules_flags is not None:
             modules_str = ' '.join(self.cxx.modules_flags) + ' '
-            sub.append(('%compile_module', compile_str + ' ' + modules_str))
             sub.append(('%build_module', build_str + ' ' + modules_str))
         sub.append(('%compile', compile_str))
-        sub.append(('%link', link_str))
         sub.append(('%build', build_str))
         # Configure exec prefix substitutions.
         # Configure run env substitution.


        


More information about the libcxx-commits mailing list