Author: Michael Buch
Date: 2026-01-22T13:22:17Z
New Revision: 2be02dcb49d4d7b8bf717d81bb46efb51690c6d7

URL: 
https://github.com/llvm/llvm-project/commit/2be02dcb49d4d7b8bf717d81bb46efb51690c6d7
DIFF: 
https://github.com/llvm/llvm-project/commit/2be02dcb49d4d7b8bf717d81bb46efb51690c6d7.diff

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

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 c7491a8d3a6cf..8b6d6dcbc38ba 100644
--- a/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py
+++ b/lldb/test/API/lang/cpp/template-alias/TestTemplateAlias.py
@@ -20,6 +20,7 @@ def do_test(self, extra_flags):
         self.expect_expr("bf2", result_type="Bar<double>")
         self.expect_expr("cbf1", result_type="Container<int>")
 
+    @skipIf(compiler="clang", compiler_version=["<", "21"])
     @expectedFailureAll(
         bugnumber="LLDB doesn't reconstruct template alias names from template 
parameters"
     )


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

Reply via email to