Author: Michael Buch
Date: 2026-01-22T13:20:14Z
New Revision: 69fbba1948c97ff349cbd4abf5107f2e8373f883

URL: 
https://github.com/llvm/llvm-project/commit/69fbba1948c97ff349cbd4abf5107f2e8373f883
DIFF: 
https://github.com/llvm/llvm-project/commit/69fbba1948c97ff349cbd4abf5107f2e8373f883.diff

LOG: [lldb][test] TestTemplateAlias.py: skip on older Clang versions

The `-g[no-]template-alias` flag is not available on older versions.

Added: 
    

Modified: 
    lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py 
b/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py
index b8314eb7cff08..c7491a8d3a6cf 100644
--- a/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py
+++ b/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py
@@ -28,6 +28,7 @@ def test_tag_alias_simple(self):
             dict(CXXFLAGS_EXTRAS="-gdwarf-5 -gtemplate-alias 
-gsimple-template-names")
         )
 
+    @skipIf(compiler="clang", compiler_version=["<", "21"])
     def test_tag_alias_no_simple(self):
         self.do_test(
             dict(
@@ -35,6 +36,7 @@ def test_tag_alias_no_simple(self):
             )
         )
 
+    @skipIf(compiler="clang", compiler_version=["<", "21"])
     def test_no_tag_alias_simple(self):
         self.do_test(
             dict(
@@ -42,6 +44,7 @@ def test_no_tag_alias_simple(self):
             )
         )
 
+    @skipIf(compiler="clang", compiler_version=["<", "21"])
     def test_no_tag_alias_no_simple(self):
         self.do_test(
             dict(


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to