Fixed building on macos with LLVM 15

This commit is contained in:
Bartek Kryza
2022-12-25 21:30:01 +01:00
parent 87f6616783
commit 07584c8616
12 changed files with 37 additions and 13 deletions

View File

@@ -19,5 +19,6 @@ diagrams:
- inheritance
exclude:
namespaces:
- std
- clanguml::t00039::detail
- clanguml::t00039::ns3::detail

View File

@@ -53,7 +53,7 @@ TEST_CASE("t00049", "[test-case][class]")
// Check if all relationships exist
REQUIRE_THAT(
puml, IsInstantiation(_A("A<T>"), _A("A<std::vector<thestring>>")));
puml, IsInstantiation(_A("A<T>"), _A("A<string_vector>")));
REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<thestring>")));
REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<intmap>")));

View File

@@ -6,8 +6,7 @@ diagrams:
# Provide the files to parse in order to look
# for #include directives
glob:
- ../../tests/t40001/**/*.cc
- ../../tests/t40001/**/*.h
- ../../tests/t40001/src/t40001.cc
# Render the paths relative to this directory
relative_to: ../../../tests/t40001
# Include also external system headers

View File

@@ -16,7 +16,7 @@
* limitations under the License.
*/
TEST_CASE("t40001", "[test-case][package]")
TEST_CASE("t40001", "[test-case][include]")
{
auto [config, db] = load_config("t40001");

View File

@@ -6,8 +6,9 @@ diagrams:
# Provide the files to parse in order to look
# for #include directives
glob:
- ../../tests/t40002/**/*.cc
- ../../tests/t40002/**/*.h
- ../../tests/t40002/src/t40002.cc
- ../../tests/t40002/src/lib1/lib1.cc
- ../../tests/t40002/src/lib2/lib2.cc
# Render the paths relative to this directory
relative_to: ../../../tests/t40002
include:

View File

@@ -16,7 +16,7 @@
* limitations under the License.
*/
TEST_CASE("t40002", "[test-case][package]")
TEST_CASE("t40002", "[test-case][include]")
{
auto [config, db] = load_config("t40002");

View File

@@ -6,8 +6,8 @@ diagrams:
# Provide the files to parse in order to look
# for #include directives
glob:
- ../../tests/t40003/include/**/*.h
- ../../tests/t40003/src/**/*.cc
- ../../tests/t40003/src/dependants/t1.cc
- ../../tests/t40003/src/dependencies/t2.cc
# Render the paths relative to this directory
relative_to: ../../../tests/t40003
include:

View File

@@ -16,7 +16,7 @@
* limitations under the License.
*/
TEST_CASE("t40003", "[test-case][package]")
TEST_CASE("t40003", "[test-case][include]")
{
auto [config, db] = load_config("t40003");