Fixed module handling on LLVM versions < 15.0.0

This commit is contained in:
Bartek Kryza
2024-01-09 11:41:34 +01:00
parent d8a49f4ac5
commit 043c13affb
3 changed files with 20 additions and 8 deletions

View File

@@ -63,12 +63,7 @@ TEST_CASE("t00008", "[test-case][class]")
using namespace json;
#if LLVM_VERSION_MAJOR >= 16
REQUIRE(IsClassTemplate(j, "A<T,P=T,CMP=nullptr,int N=3>"));
#else
REQUIRE(IsClassTemplate(
j, "A<T,P=T,clanguml::t00008::CMP=nullptr,int N=3>"));
#endif
REQUIRE(IsClassTemplate(j, "E::nested_template<ET>"));
REQUIRE(IsClass(j, "E::nested_template<char>"));