From 13ea67c1d894018c95b0b64e89d650fbec83e175 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Mon, 26 Jun 2023 16:15:55 +0200 Subject: [PATCH] Updated test cases documentation --- docs/architecture.md | 2 - docs/test_cases.md | 15 +- docs/test_cases/t00002.md | 52 ++- docs/test_cases/t00002_class.svg | 118 ++++-- docs/test_cases/t00003.md | 140 +++++- docs/test_cases/t00003_class.svg | 238 ++++++++--- docs/test_cases/t00004.md | 16 +- docs/test_cases/t00004_class.svg | 98 +++-- docs/test_cases/t00005.md | 26 +- docs/test_cases/t00005_class.svg | 110 ++--- docs/test_cases/t00006.md | 10 +- docs/test_cases/t00006_class.svg | 134 +++--- docs/test_cases/t00007.md | 4 +- docs/test_cases/t00007_class.svg | 30 +- docs/test_cases/t00008.md | 34 +- docs/test_cases/t00008_class.svg | 159 +++---- docs/test_cases/t00009.md | 4 +- docs/test_cases/t00009_class.svg | 38 +- docs/test_cases/t00010.md | 4 +- docs/test_cases/t00010_class.svg | 38 +- docs/test_cases/t00011.md | 18 +- docs/test_cases/t00011_class.svg | 44 +- docs/test_cases/t00012.md | 4 +- docs/test_cases/t00012_class.svg | 76 ++-- docs/test_cases/t00013.md | 78 +++- docs/test_cases/t00013_class.svg | 192 +++++---- docs/test_cases/t00014.md | 54 +-- docs/test_cases/t00014_class.svg | 636 ++++++++++++++-------------- docs/test_cases/t00015.md | 4 +- docs/test_cases/t00015_class.svg | 22 +- docs/test_cases/t00016.md | 4 +- docs/test_cases/t00016_class.svg | 26 +- docs/test_cases/t00017.md | 40 +- docs/test_cases/t00017_class.svg | 77 ++-- docs/test_cases/t00018.md | 88 +++- docs/test_cases/t00018_class.svg | 136 ++++-- docs/test_cases/t00019.md | 74 +++- docs/test_cases/t00019_class.svg | 155 ++++--- docs/test_cases/t00020.md | 88 +++- docs/test_cases/t00020_class.svg | 186 +++++--- docs/test_cases/t00021.md | 104 ++++- docs/test_cases/t00021_class.svg | 165 +++++--- docs/test_cases/t00022.md | 46 +- docs/test_cases/t00022_class.svg | 83 ++-- docs/test_cases/t00023.md | 46 +- docs/test_cases/t00023_class.svg | 103 +++-- docs/test_cases/t00024.md | 64 ++- docs/test_cases/t00024_class.svg | 124 ++++-- docs/test_cases/t00025.md | 50 ++- docs/test_cases/t00025_class.svg | 109 +++-- docs/test_cases/t00026.md | 58 ++- docs/test_cases/t00026_class.svg | 137 ++++-- docs/test_cases/t00027.md | 46 +- docs/test_cases/t00027_class.svg | 147 ++++--- docs/test_cases/t00028.md | 20 +- docs/test_cases/t00028_class.svg | 95 +++-- docs/test_cases/t00029.md | 8 +- docs/test_cases/t00029_class.svg | 50 +-- docs/test_cases/t00030.md | 10 +- docs/test_cases/t00030_class.svg | 46 +- docs/test_cases/t00031.md | 8 +- docs/test_cases/t00031_class.svg | 52 +-- docs/test_cases/t00032.md | 24 +- docs/test_cases/t00032_class.svg | 75 ++-- docs/test_cases/t00033.md | 8 +- docs/test_cases/t00033_class.svg | 54 +-- docs/test_cases/t00034.md | 22 +- docs/test_cases/t00034_class.svg | 58 +-- docs/test_cases/t00035.md | 4 +- docs/test_cases/t00035_class.svg | 22 +- docs/test_cases/t00036.md | 4 +- docs/test_cases/t00036_class.svg | 40 +- docs/test_cases/t00037.md | 12 +- docs/test_cases/t00037_class.svg | 65 +-- docs/test_cases/t00038.md | 4 +- docs/test_cases/t00038_class.svg | 54 +-- docs/test_cases/t00039.md | 6 +- docs/test_cases/t00039_class.svg | 78 ++-- docs/test_cases/t00040.md | 26 +- docs/test_cases/t00040_class.svg | 59 ++- docs/test_cases/t00041.md | 18 +- docs/test_cases/t00041_class.svg | 65 +-- docs/test_cases/t00042.md | 4 +- docs/test_cases/t00042_class.svg | 42 +- docs/test_cases/t00043.md | 84 +++- docs/test_cases/t00043_class.svg | 296 +++++++------ docs/test_cases/t00044.md | 10 +- docs/test_cases/t00044_class.svg | 55 +-- docs/test_cases/t00045.md | 12 +- docs/test_cases/t00045_class.svg | 83 ++-- docs/test_cases/t00046.md | 12 +- docs/test_cases/t00046_class.svg | 75 ++-- docs/test_cases/t00047.md | 4 +- docs/test_cases/t00047_class.svg | 18 +- docs/test_cases/t00048.md | 40 +- docs/test_cases/t00048_class.svg | 116 +++-- docs/test_cases/t00049.md | 22 +- docs/test_cases/t00049_class.svg | 69 +-- docs/test_cases/t00050.md | 4 +- docs/test_cases/t00050_class.svg | 70 +-- docs/test_cases/t00051.md | 74 +++- docs/test_cases/t00051_class.svg | 149 +++++-- docs/test_cases/t00052.md | 12 +- docs/test_cases/t00052_class.svg | 53 +-- docs/test_cases/t00053.md | 4 +- docs/test_cases/t00053_class.svg | 70 +-- docs/test_cases/t00054.md | 4 +- docs/test_cases/t00054_class.svg | 78 ++-- docs/test_cases/t00055.md | 4 +- docs/test_cases/t00055_class.svg | 42 +- docs/test_cases/t00056.md | 4 +- docs/test_cases/t00056_class.svg | 94 ++-- docs/test_cases/t00057.md | 4 +- docs/test_cases/t00057_class.svg | 126 +++--- docs/test_cases/t00058.md | 4 +- docs/test_cases/t00058_class.svg | 54 +-- docs/test_cases/t00059.md | 68 ++- docs/test_cases/t00059_class.svg | 154 ++++--- docs/test_cases/t00060.md | 4 +- docs/test_cases/t00060_class.svg | 38 +- docs/test_cases/t00061.md | 4 +- docs/test_cases/t00061_class.svg | 6 +- docs/test_cases/t00062.md | 4 +- docs/test_cases/t00062_class.svg | 198 ++++----- docs/test_cases/t00063.md | 4 +- docs/test_cases/t00063_class.svg | 6 +- docs/test_cases/t00064.md | 30 +- docs/test_cases/t00064_class.svg | 135 +++--- docs/test_cases/t00065.md | 26 +- docs/test_cases/t00065_class.svg | 116 ++--- docs/test_cases/t00066.md | 140 +++++- docs/test_cases/t00066_class.svg | 226 +++++++--- docs/test_cases/t00067.md | 64 ++- docs/test_cases/t00067_class.svg | 138 ++++-- docs/test_cases/t20001.md | 4 +- docs/test_cases/t20001_sequence.svg | 62 +-- docs/test_cases/t20002.md | 4 +- docs/test_cases/t20002_sequence.svg | 48 +-- docs/test_cases/t20003.md | 4 +- docs/test_cases/t20003_sequence.svg | 48 +-- docs/test_cases/t20004.md | 4 +- docs/test_cases/t20004_sequence.svg | 120 +++--- docs/test_cases/t20005.md | 4 +- docs/test_cases/t20005_sequence.svg | 36 +- docs/test_cases/t20006.md | 4 +- docs/test_cases/t20006_sequence.svg | 150 +++---- docs/test_cases/t20007.md | 4 +- docs/test_cases/t20007_sequence.svg | 48 +-- docs/test_cases/t20008.md | 4 +- docs/test_cases/t20008_sequence.svg | 84 ++-- docs/test_cases/t20009.md | 4 +- docs/test_cases/t20009_sequence.svg | 84 ++-- docs/test_cases/t20010.md | 4 +- docs/test_cases/t20010_sequence.svg | 72 ++-- docs/test_cases/t20011.md | 4 +- docs/test_cases/t20011_sequence.svg | 72 ++-- docs/test_cases/t20012.md | 4 +- docs/test_cases/t20012_sequence.svg | 204 ++++----- docs/test_cases/t20013.md | 4 +- docs/test_cases/t20013_sequence.svg | 60 +-- docs/test_cases/t20014.md | 4 +- docs/test_cases/t20014_sequence.svg | 72 ++-- docs/test_cases/t20015.md | 4 +- docs/test_cases/t20015_sequence.svg | 24 +- docs/test_cases/t20016.md | 4 +- docs/test_cases/t20016_sequence.svg | 48 +-- docs/test_cases/t20017.md | 4 +- docs/test_cases/t20017_sequence.svg | 48 +-- docs/test_cases/t20018.md | 4 +- docs/test_cases/t20018_sequence.svg | 96 ++--- docs/test_cases/t20019.md | 4 +- docs/test_cases/t20019_sequence.svg | 84 ++-- docs/test_cases/t20020.md | 4 +- docs/test_cases/t20020_sequence.svg | 118 +++--- docs/test_cases/t20021.md | 4 +- docs/test_cases/t20021_sequence.svg | 106 ++--- docs/test_cases/t20022.md | 4 +- docs/test_cases/t20022_sequence.svg | 36 +- docs/test_cases/t20023.md | 4 +- docs/test_cases/t20023_sequence.svg | 50 +-- docs/test_cases/t20024.md | 4 +- docs/test_cases/t20024_sequence.svg | 88 ++-- docs/test_cases/t20025.md | 4 +- docs/test_cases/t20025_sequence.svg | 42 +- docs/test_cases/t20026.md | 4 +- docs/test_cases/t20026_sequence.svg | 24 +- docs/test_cases/t20027.md | 4 +- docs/test_cases/t20027_sequence.svg | 24 +- docs/test_cases/t20028.md | 4 +- docs/test_cases/t20028_sequence.svg | 44 +- docs/test_cases/t20029.md | 4 +- docs/test_cases/t20029_sequence.svg | 80 ++-- docs/test_cases/t30001.md | 32 +- docs/test_cases/t30001_package.svg | 48 +-- docs/test_cases/t30002.md | 32 +- docs/test_cases/t30002_package.svg | 94 ++-- docs/test_cases/t30003.md | 32 +- docs/test_cases/t30003_package.svg | 26 +- docs/test_cases/t30004.md | 32 +- docs/test_cases/t30004_package.svg | 30 +- docs/test_cases/t30005.md | 32 +- docs/test_cases/t30005_package.svg | 38 +- docs/test_cases/t30006.md | 32 +- docs/test_cases/t30006_package.svg | 16 +- docs/test_cases/t30007.md | 32 +- docs/test_cases/t30007_package.svg | 20 +- docs/test_cases/t30008.md | 4 +- docs/test_cases/t30008_package.svg | 34 +- docs/test_cases/t30009.md | 32 +- docs/test_cases/t30009_package.svg | 42 +- docs/test_cases/t30010.md | 11 +- docs/test_cases/t30011.md | 4 +- docs/test_cases/t40001.md | 4 +- docs/test_cases/t40001_include.svg | 30 +- docs/test_cases/t40002.md | 4 +- docs/test_cases/t40002_include.svg | 34 +- docs/test_cases/t40003.md | 4 +- docs/test_cases/t40003_include.svg | 50 +-- 218 files changed, 7202 insertions(+), 4429 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 0403ad65..24cd6415 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -85,8 +85,6 @@ and a YAML emitter - e.g. The diagram model namespace is divided into the [`common`](#common-model) model namespace and 1 namespace for each supported diagram type. -![clang-uml packages](./architecture_model.svg) - ### Common model The [common diagram model namespace](./namespaceclanguml_1_1common_1_1model.html), diff --git a/docs/test_cases.md b/docs/test_cases.md index 29991327..e4bf1de0 100644 --- a/docs/test_cases.md +++ b/docs/test_cases.md @@ -1,16 +1,5 @@ # Test cases index - - - -* [Class diagrams](#class-diagrams) -* [Sequence diagrams](#sequence-diagrams) -* [Package diagrams](#package-diagrams) -* [Include diagrams](#include-diagrams) -* [Other diagrams](#other-diagrams) - - - -## Class diagrams +* [Class diagrams](#class-diagrams)* [Sequence diagrams](#sequence-diagrams)* [Package diagrams](#package-diagrams)* [Include diagrams](#include-diagrams)* [Other diagrams](#other-diagrams) ## Class diagrams * [t00002](./test_cases/t00002.md) - Basic class inheritance * [t00003](./test_cases/t00003.md) - Class fields and methods * [t00004](./test_cases/t00004.md) - Nested classes and enums @@ -123,5 +112,5 @@ * [t40001](./test_cases/t40001.md) - Basic include graph diagram test case * [t40002](./test_cases/t40002.md) - Cyclic include graph diagram test case * [t40003](./test_cases/t40003.md) - Dependants and dependencies include diagram filter test -## Other diagrams +## Configuration diagrams * [t90000](./test_cases/t90000.md) - Basic config test diff --git a/docs/test_cases/t00002.md b/docs/test_cases/t00002.md index 7d9a67ea..53b36d41 100644 --- a/docs/test_cases/t00002.md +++ b/docs/test_cases/t00002.md @@ -168,6 +168,12 @@ private: "is_virtual": true, "name": "foo_a", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00002/t00002.cc", + "line": 10, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" }, { @@ -195,6 +201,12 @@ private: "is_virtual": true, "name": "foo_c", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00002/t00002.cc", + "line": 12, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" } ], @@ -255,6 +267,12 @@ private: "is_virtual": true, "name": "foo_a", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00002/t00002.cc", + "line": 18, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" } ], @@ -324,6 +342,12 @@ private: "is_virtual": true, "name": "foo_c", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00002/t00002.cc", + "line": 30, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" } ], @@ -416,6 +440,12 @@ private: "is_virtual": true, "name": "foo_a", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00002/t00002.cc", + "line": 41, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" }, { @@ -443,6 +473,12 @@ private: "is_virtual": true, "name": "foo_c", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00002/t00002.cc", + "line": 50, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" } ], @@ -527,6 +563,12 @@ private: "is_virtual": true, "name": "foo_a", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00002/t00002.cc", + "line": 66, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" }, { @@ -554,6 +596,12 @@ private: "is_virtual": true, "name": "foo_c", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00002/t00002.cc", + "line": 75, + "translation_unit": "../../tests/t00002/t00002.cc" + }, "type": "void" } ], @@ -570,8 +618,8 @@ private: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00002_class", diff --git a/docs/test_cases/t00002_class.svg b/docs/test_cases/t00002_class.svg index 2417be88..d644fe97 100644 --- a/docs/test_cases/t00002_class.svg +++ b/docs/test_cases/t00002_class.svg @@ -1,6 +1,6 @@ - + @@ -9,83 +9,123 @@ - - + + A - - foo_a() = 0 : void - - foo_c() = 0 : void - - - + + + + + + foo_a() = 0 : void + + + + + + + foo_c() = 0 : void + + + + B - - foo_a() : void - - - + + + + + + foo_a() : void + + + + C - - foo_c() : void - - - + + + + + + foo_c() : void + + + + D - - foo_a() : void - - foo_c() : void - - + + + + + + foo_a() : void + + + + + + + foo_c() : void + + + - + as : std::vector<A *> - - + + E - - foo_a() : void - - foo_c() : void - - + + + + + + foo_a() : void + + + + + + + foo_c() : void + + + - + as : std::vector<A *> - + This is class A - + This is class B - + This is class D diff --git a/docs/test_cases/t00003.md b/docs/test_cases/t00003.md index bb192e7a..75a5b1ae 100644 --- a/docs/test_cases/t00003.md +++ b/docs/test_cases/t00003.md @@ -251,6 +251,12 @@ int A::static_int = 1; "is_virtual": false, "name": "A", "parameters": [], + "source_location": { + "column": 5, + "file": "../../tests/t00003/t00003.cc", + "line": 9, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -275,6 +281,12 @@ int A::static_int = 1; "type": "int" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00003/t00003.cc", + "line": 10, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -296,9 +308,15 @@ int A::static_int = 1; "parameters": [ { "name": "", - "type": "A &&" + "type": "clanguml::t00003::A &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00003/t00003.cc", + "line": 21, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -320,9 +338,15 @@ int A::static_int = 1; "parameters": [ { "name": "", - "type": "const A &" + "type": "const clanguml::t00003::A &" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00003/t00003.cc", + "line": 22, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -342,6 +366,12 @@ int A::static_int = 1; "is_virtual": true, "name": "~A", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00003/t00003.cc", + "line": 23, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -361,6 +391,12 @@ int A::static_int = 1; "is_virtual": false, "name": "basic_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 25, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -380,6 +416,12 @@ int A::static_int = 1; "is_virtual": false, "name": "static_method", "parameters": [], + "source_location": { + "column": 16, + "file": "../../tests/t00003/t00003.cc", + "line": 26, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "int" }, { @@ -399,6 +441,12 @@ int A::static_int = 1; "is_virtual": false, "name": "const_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 27, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -418,6 +466,12 @@ int A::static_int = 1; "is_virtual": false, "name": "auto_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 28, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "int" }, { @@ -437,7 +491,13 @@ int A::static_int = 1; "is_virtual": false, "name": "operator++", "parameters": [], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00003/t00003.cc", + "line": 30, + "translation_unit": "../../tests/t00003/t00003.cc" + }, + "type": "clanguml::t00003::A &" }, { "access": "public", @@ -458,10 +518,16 @@ int A::static_int = 1; "parameters": [ { "name": "other", - "type": "A &&" + "type": "clanguml::t00003::A &&" } ], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00003/t00003.cc", + "line": 36, + "translation_unit": "../../tests/t00003/t00003.cc" + }, + "type": "clanguml::t00003::A &" }, { "access": "public", @@ -482,10 +548,16 @@ int A::static_int = 1; "parameters": [ { "name": "other", - "type": "A &" + "type": "clanguml::t00003::A &" } ], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00003/t00003.cc", + "line": 37, + "translation_unit": "../../tests/t00003/t00003.cc" + }, + "type": "clanguml::t00003::A &" }, { "access": "public", @@ -504,6 +576,12 @@ int A::static_int = 1; "is_virtual": false, "name": "size", "parameters": [], + "source_location": { + "column": 27, + "file": "../../tests/t00003/t00003.cc", + "line": 39, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "std::size_t" }, { @@ -528,6 +606,12 @@ int A::static_int = 1; "type": "const int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 41, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "int" }, { @@ -556,6 +640,12 @@ int A::static_int = 1; "type": "const double" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 42, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "int" }, { @@ -581,6 +671,12 @@ int A::static_int = 1; "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 44, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "int" }, { @@ -610,6 +706,12 @@ int A::static_int = 1; "type": "std::string" } ], + "source_location": { + "column": 17, + "file": "../../tests/t00003/t00003.cc", + "line": 45, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "std::string" }, { @@ -634,7 +736,13 @@ int A::static_int = 1; "type": "int" } ], - "type": "A" + "source_location": { + "column": 14, + "file": "../../tests/t00003/t00003.cc", + "line": 50, + "translation_unit": "../../tests/t00003/t00003.cc" + }, + "type": "clanguml::t00003::A" }, { "access": "protected", @@ -653,6 +761,12 @@ int A::static_int = 1; "is_virtual": false, "name": "protected_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 58, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -672,6 +786,12 @@ int A::static_int = 1; "is_virtual": false, "name": "private_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00003/t00003.cc", + "line": 67, + "translation_unit": "../../tests/t00003/t00003.cc" + }, "type": "void" }, { @@ -712,8 +832,8 @@ int A::static_int = 1; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00003_class", diff --git a/docs/test_cases/t00003_class.svg b/docs/test_cases/t00003_class.svg index e75aeb79..2156b6ab 100644 --- a/docs/test_cases/t00003_class.svg +++ b/docs/test_cases/t00003_class.svg @@ -1,6 +1,6 @@ - + @@ -9,127 +9,227 @@ - - + + A - - A() = default : void - - A(int i) : void - - A(A &&) = default : void - - A(const A &) = deleted : void - - A<T>(T t) : void - - ~A() = default : void - - - operator=(A && other) noexcept : A & - - operator=(A & other) noexcept : A & - - - operator++() : A & - - - auto_method() : int - - basic_method() : void - - const_method() const : void - - create_from_int(int i) : A - - default_int(int i = 12) : int - - default_string(int i, std::string s = "abc") : std::string - - double_int(const int i) : int - - private_method() : void - - protected_method() : void - - size() constexpr const : std::size_t - - static_method() : int - - sum(const double a, const double b) : int - - + + + + + + A() = default : void + + + + + + + A(int i) : void + + + + + + + A(A &&) = default : void + + + + + + + A(const A &) = deleted : void + + + A<T>(T t) : void + + + + + + ~A() = default : void + + + + + + + + operator=(A && other) noexcept : A & + + + + + + + operator=(A & other) noexcept : A & + + + + + + + + operator++() : A & + + + + + + + + auto_method() : int + + + + + + + basic_method() : void + + + + + + + const_method() const : void + + + + + + + create_from_int(int i) : A + + + + + + + default_int(int i = 12) : int + + + + + + + default_string(int i, std::string s = "abc") : std::string + + + + + + + double_int(const int i) : int + + + + + + + private_method() : void + + + + + + + protected_method() : void + + + + + + + size() constexpr const : std::size_t + + + + + + + static_method() : int + + + + + + + sum(const double a, const double b) : int + + + - + a_ : int - + - + auto_member : const unsigned long - + - + b_ : int - + - + c_ : int - + - + compare : std::function<bool (const int)> - + - + private_member : int - + - + protected_member : int - + - + public_member : int - + - + static_const_int : const int - + - + static_int : int diff --git a/docs/test_cases/t00004.md b/docs/test_cases/t00004.md index 7adbd06a..708fa8df 100644 --- a/docs/test_cases/t00004.md +++ b/docs/test_cases/t00004.md @@ -150,6 +150,12 @@ public: "is_virtual": false, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00004/t00004.cc", + "line": 11, + "translation_unit": "../../tests/t00004/t00004.cc" + }, "type": "void" }, { @@ -169,6 +175,12 @@ public: "is_virtual": false, "name": "foo2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00004/t00004.cc", + "line": 20, + "translation_unit": "../../tests/t00004/t00004.cc" + }, "type": "void" } ], @@ -516,8 +528,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00004_class", diff --git a/docs/test_cases/t00004_class.svg b/docs/test_cases/t00004_class.svg index a602a431..8943d0da 100644 --- a/docs/test_cases/t00004_class.svg +++ b/docs/test_cases/t00004_class.svg @@ -1,6 +1,6 @@ - + @@ -9,16 +9,16 @@ - - + + B - - + + B::AA @@ -28,28 +28,38 @@ AA_3 - - + + A - - foo() const : void - - foo2() const : void - - - + + + + + + foo() const : void + + + + + + + foo2() const : void + + + + A::AA - - + + A::AA::Lights @@ -59,16 +69,16 @@ Red - - + + A::AA::AAA - - + + C::B @@ -77,8 +87,8 @@ - - + + C @@ -87,38 +97,38 @@ - + - + b_int : B<int> - + - + t : T - - + + C::AA - - + + C::AA::AAA - - + + C::AA::CCC @@ -127,8 +137,8 @@ CCC_2 - - + + C::B @@ -137,15 +147,15 @@ - + - + b : V - - + + C::CC @@ -154,16 +164,16 @@ CC_2 - - + + detail::D - - + + detail::D::AA @@ -173,8 +183,8 @@ AA_3 - - + + detail::D::DD diff --git a/docs/test_cases/t00005.md b/docs/test_cases/t00005.md index 68433476..c161f435 100644 --- a/docs/test_cases/t00005.md +++ b/docs/test_cases/t00005.md @@ -381,7 +381,7 @@ public: "line": 31, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "A" + "type": "clanguml::t00005::A" }, { "access": "public", @@ -393,7 +393,7 @@ public: "line": 32, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "B *" + "type": "clanguml::t00005::B *" }, { "access": "public", @@ -405,7 +405,7 @@ public: "line": 33, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "C &" + "type": "clanguml::t00005::C &" }, { "access": "public", @@ -417,7 +417,7 @@ public: "line": 34, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "const D *" + "type": "const clanguml::t00005::D *" }, { "access": "public", @@ -429,7 +429,7 @@ public: "line": 35, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "const E &" + "type": "const clanguml::t00005::E &" }, { "access": "public", @@ -441,7 +441,7 @@ public: "line": 36, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "F &&" + "type": "clanguml::t00005::F &&" }, { "access": "public", @@ -453,7 +453,7 @@ public: "line": 37, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "G **" + "type": "clanguml::t00005::G **" }, { "access": "public", @@ -465,7 +465,7 @@ public: "line": 38, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "H ***" + "type": "clanguml::t00005::H ***" }, { "access": "public", @@ -477,7 +477,7 @@ public: "line": 39, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "I *&" + "type": "clanguml::t00005::I *&" }, { "access": "public", @@ -489,7 +489,7 @@ public: "line": 40, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "volatile J *" + "type": "volatile clanguml::t00005::J *" }, { "access": "public", @@ -501,7 +501,7 @@ public: "line": 41, "translation_unit": "../../tests/t00005/t00005.cc" }, - "type": "K *" + "type": "clanguml::t00005::K *" } ], "methods": [], @@ -518,8 +518,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00005_class", diff --git a/docs/test_cases/t00005_class.svg b/docs/test_cases/t00005_class.svg index a71da74a..32bd25ab 100644 --- a/docs/test_cases/t00005_class.svg +++ b/docs/test_cases/t00005_class.svg @@ -1,6 +1,6 @@ - + @@ -9,205 +9,205 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + R - + - + a : A - + - + b : B * - + - + c : C & - + - + d : const D * - + - + e : const E & - + - + f : F && - + - + g : G ** - + - + h : H *** - + - + i : I *& - + - + j : volatile J * - + - + k : K * - + - + some_int : int - + - + some_int_pointer : int * - + - + some_int_pointer_pointer : int ** - + - + some_int_reference : int & diff --git a/docs/test_cases/t00006.md b/docs/test_cases/t00006.md index 3db50708..c1dd5bdd 100644 --- a/docs/test_cases/t00006.md +++ b/docs/test_cases/t00006.md @@ -586,7 +586,7 @@ public: "line": 52, "translation_unit": "../../tests/t00006/t00006.cc" }, - "type": "custom_container" + "type": "custom_container" }, { "access": "public", @@ -646,7 +646,7 @@ public: "line": 60, "translation_unit": "../../tests/t00006/t00006.cc" }, - "type": "J[10]" + "type": "clanguml::t00006::J[10]" }, { "access": "public", @@ -658,7 +658,7 @@ public: "line": 61, "translation_unit": "../../tests/t00006/t00006.cc" }, - "type": "K *[20]" + "type": "clanguml::t00006::K *[20]" }, { "access": "public", @@ -699,8 +699,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00006_class", diff --git a/docs/test_cases/t00006_class.svg b/docs/test_cases/t00006_class.svg index 4f10d2fd..ea2c9efe 100644 --- a/docs/test_cases/t00006_class.svg +++ b/docs/test_cases/t00006_class.svg @@ -1,6 +1,6 @@ - + @@ -9,136 +9,136 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + L - - + + M - - + + N - - + + NN - - + + NNN - - + + custom_container @@ -147,15 +147,15 @@ - + - + data : std::vector<T> - - + + custom_container @@ -164,103 +164,103 @@ - - + + R - + - + a : std::vector<A> - + - + b : std::vector<B *> - + - + c : std::map<int,C> - + - + d : std::map<int,D *> - + - + e : custom_container<E> - + - + f : std::vector<std::vector<F>> - + - + g : std::map<int,std::vector<G *>> - + - + h : std::array<H,10> - + - + i : std::array<I *,5> - + - + j : J[10] - + - + k : K *[20] - + - + lm : std::vector<std::pair<L,M>> - + - + ns : std::tuple<N,NN,NNN> diff --git a/docs/test_cases/t00007.md b/docs/test_cases/t00007.md index d520e0d5..a32ab230 100644 --- a/docs/test_cases/t00007.md +++ b/docs/test_cases/t00007.md @@ -172,8 +172,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00007_class", diff --git a/docs/test_cases/t00007_class.svg b/docs/test_cases/t00007_class.svg index 537e555a..a581c6ac 100644 --- a/docs/test_cases/t00007_class.svg +++ b/docs/test_cases/t00007_class.svg @@ -1,6 +1,6 @@ - + @@ -9,57 +9,57 @@ - - + + A - - + + B - - + + C - - + + R - + - + a : std::unique_ptr<A> - + - + b : std::shared_ptr<B> - + - + c : std::weak_ptr<C> diff --git a/docs/test_cases/t00008.md b/docs/test_cases/t00008.md index 67dc8ea0..8152c383 100644 --- a/docs/test_cases/t00008.md +++ b/docs/test_cases/t00008.md @@ -80,8 +80,8 @@ template <> struct E::nested_template { "elements": [ { "bases": [], - "display_name": "clanguml::t00008::A", - "id": "2293517130897538130", + "display_name": "clanguml::t00008::A", + "id": "1657660300852090121", "is_abstract": false, "is_nested": false, "is_struct": false, @@ -158,7 +158,7 @@ template <> struct E::nested_template { "line": 17, "translation_unit": "../../tests/t00008/t00008.cc" }, - "type": "CMP" + "type": "clanguml::t00008::CMP" } ], "methods": [], @@ -189,7 +189,7 @@ template <> struct E::nested_template { "is_variadic": false, "kind": "non_type_template", "template_parameters": [], - "type": "CMP" + "type": "clanguml::t00008::CMP" }, { "default": "3", @@ -373,6 +373,12 @@ template <> struct E::nested_template { "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00008/t00008.cc", + "line": 33, + "translation_unit": "../../tests/t00008/t00008.cc" + }, "type": "void" }, { @@ -466,7 +472,13 @@ template <> struct E::nested_template { "type": "ET *" } ], - "type": "DT *" + "source_location": { + "column": 20, + "file": "../../tests/t00008/t00008.cc", + "line": 40, + "translation_unit": "../../tests/t00008/t00008.cc" + }, + "type": "clanguml::t00008::E::nested_template::DT *" } ], "name": "E::nested_template", @@ -520,7 +532,13 @@ template <> struct E::nested_template { "type": "char *" } ], - "type": "DeclType *" + "source_location": { + "column": 22, + "file": "../../tests/t00008/t00008.cc", + "line": 47, + "translation_unit": "../../tests/t00008/t00008.cc" + }, + "type": "clanguml::t00008::E::nested_template::DeclType *" } ], "name": "E::nested_template", @@ -543,8 +561,8 @@ template <> struct E::nested_template { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00008_class", diff --git a/docs/test_cases/t00008_class.svg b/docs/test_cases/t00008_class.svg index db3a8914..88c1ee37 100644 --- a/docs/test_cases/t00008_class.svg +++ b/docs/test_cases/t00008_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,8 +9,8 @@ - - + + A @@ -19,50 +19,50 @@ - + - + comparator : CMP - + - + ints : std::array<int,N> - + - + pointer : T * - + - + reference : T & - + - + value : T - + - + values : std::vector<P> - - + + Vector @@ -71,15 +71,15 @@ - + - + values : std::vector<T> - - + + B @@ -88,15 +88,15 @@ - + - + template_template : C<T> - - + + B @@ -105,8 +105,8 @@ - - + + D @@ -114,64 +114,79 @@ D<Items...>(std::tuple<Items...> *) : void - - add(int i) : void - - + + + + + + add(int i) : void + + + - + ints : B<int,Vector> - - - - - E - - + + + + + E + + - - - - - E::nested_template - - ET - - - get(ET * d) : DT * - + + + + + E::nested_template + + ET + - - - - - E::nested_template - - char - - - getDecl(char * c) : DeclType * - + + + + + get(ET * d) : E::nested_template::DT * + + + + + + + E::nested_template + + char + + + + + + + + getDecl(char * c) : E::nested_template<char>::DeclType * + + ints - - - - - - - - - - + + + + + + + + + + diff --git a/docs/test_cases/t00009.md b/docs/test_cases/t00009.md index f4e8c5c3..52f74a89 100644 --- a/docs/test_cases/t00009.md +++ b/docs/test_cases/t00009.md @@ -243,8 +243,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00009_class", diff --git a/docs/test_cases/t00009_class.svg b/docs/test_cases/t00009_class.svg index 12988aeb..6827c2e3 100644 --- a/docs/test_cases/t00009_class.svg +++ b/docs/test_cases/t00009_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,15 +19,15 @@ - + - + value : T - - + + A @@ -36,8 +36,8 @@ - - + + A @@ -46,8 +46,8 @@ - - + + A @@ -56,33 +56,33 @@ - - + + B - + - + aint : A<int> - + - + astring : A<std::string> * - + - + avector : A<std::vector<std::string>> & diff --git a/docs/test_cases/t00010.md b/docs/test_cases/t00010.md index 9ac5bae6..41704efa 100644 --- a/docs/test_cases/t00010.md +++ b/docs/test_cases/t00010.md @@ -253,8 +253,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00010_class", diff --git a/docs/test_cases/t00010_class.svg b/docs/test_cases/t00010_class.svg index 84579aee..f0372cef 100644 --- a/docs/test_cases/t00010_class.svg +++ b/docs/test_cases/t00010_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,22 +19,22 @@ - + - + first : T - + - + second : P - - + + A @@ -43,8 +43,8 @@ - - + + B @@ -53,15 +53,15 @@ - + - + astring : A<T,std::string> - - + + B @@ -70,19 +70,19 @@ - - + + C - + - + aintstring : B<int> diff --git a/docs/test_cases/t00011.md b/docs/test_cases/t00011.md index 426983c6..73e844ee 100644 --- a/docs/test_cases/t00011.md +++ b/docs/test_cases/t00011.md @@ -129,6 +129,12 @@ public: "is_virtual": false, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00011/t00011.cc", + "line": 16, + "translation_unit": "../../tests/t00011/t00011.cc" + }, "type": "void" } ], @@ -163,7 +169,7 @@ public: "line": 29, "translation_unit": "../../tests/t00011/t00011.cc" }, - "type": "A *" + "type": "clanguml::t00011::A *" } ], "methods": [ @@ -184,6 +190,12 @@ public: "is_virtual": false, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00011/t00011.cc", + "line": 28, + "translation_unit": "../../tests/t00011/t00011.cc" + }, "type": "void" } ], @@ -200,8 +212,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00011_class", diff --git a/docs/test_cases/t00011_class.svg b/docs/test_cases/t00011_class.svg index d1e44942..ce773889 100644 --- a/docs/test_cases/t00011_class.svg +++ b/docs/test_cases/t00011_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + D @@ -19,38 +19,48 @@ - + - + value : T - - + + A - - foo() : void - - - + + + + + + foo() : void + + + + B - - foo() : void - - + + + + + + foo() : void + + + - + m_a : A * diff --git a/docs/test_cases/t00012.md b/docs/test_cases/t00012.md index d7c895ff..d097c661 100644 --- a/docs/test_cases/t00012.md +++ b/docs/test_cases/t00012.md @@ -554,8 +554,8 @@ class R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00012_class", diff --git a/docs/test_cases/t00012_class.svg b/docs/test_cases/t00012_class.svg index 6b2f7087..2c8aa0d2 100644 --- a/docs/test_cases/t00012_class.svg +++ b/docs/test_cases/t00012_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,22 +19,22 @@ - + - + value : T - + - + values : std::variant<Ts...> - - + + B @@ -43,15 +43,15 @@ - + - + ints : std::array<int,sizeof...(Is)> - - + + C @@ -60,15 +60,15 @@ - + - + ints : std::array<T,sizeof...(Is)> - - + + A @@ -77,8 +77,8 @@ - - + + A @@ -87,8 +87,8 @@ - - + + B @@ -97,8 +97,8 @@ - - + + B @@ -107,8 +107,8 @@ - - + + C @@ -117,50 +117,50 @@ - - + + R - + - + a1 : A<int,std::string,float> - + - + a2 : A<int,std::string,bool> - + - + b1 : B<3,2,1> - + - + b2 : B<1,1,1,1> - + - + c1 : C<std::map<int,std::vector<std::vector<std::vector<std::string>>>>,3,3,3> - + Long template annotation diff --git a/docs/test_cases/t00013.md b/docs/test_cases/t00013.md index 0d1feedf..54de4e61 100644 --- a/docs/test_cases/t00013.md +++ b/docs/test_cases/t00013.md @@ -313,9 +313,15 @@ private: "parameters": [ { "name": "r", - "type": "R *" + "type": "clanguml::t00013::R *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00013/t00013.cc", + "line": 30, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "void" } ], @@ -586,9 +592,15 @@ private: "parameters": [ { "name": "a", - "type": "A *" + "type": "clanguml::t00013::A *" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 45, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -610,9 +622,15 @@ private: "parameters": [ { "name": "b", - "type": "B &" + "type": "clanguml::t00013::B &" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 46, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -634,9 +652,15 @@ private: "parameters": [ { "name": "b", - "type": "const B &" + "type": "const clanguml::t00013::B &" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 47, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -658,9 +682,15 @@ private: "parameters": [ { "name": "c", - "type": "C" + "type": "clanguml::t00013::C" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 48, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -682,9 +712,15 @@ private: "parameters": [ { "name": "d", - "type": "D &&" + "type": "clanguml::t00013::D &&" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 49, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -706,9 +742,15 @@ private: "parameters": [ { "name": "d", - "type": "D &&" + "type": "clanguml::t00013::D &&" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 51, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -733,6 +775,12 @@ private: "type": "const clanguml::t00013::E &" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 54, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -757,6 +805,12 @@ private: "type": "clanguml::t00013::E &" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 55, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -781,6 +835,12 @@ private: "type": "const ABCD::F &" } ], + "source_location": { + "column": 9, + "file": "../../tests/t00013/t00013.cc", + "line": 58, + "translation_unit": "../../tests/t00013/t00013.cc" + }, "type": "int" }, { @@ -845,8 +905,8 @@ private: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00013_class", diff --git a/docs/test_cases/t00013_class.svg b/docs/test_cases/t00013_class.svg index 573d2555..55916d57 100644 --- a/docs/test_cases/t00013_class.svg +++ b/docs/test_cases/t00013_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + ABCD::F @@ -19,15 +19,15 @@ - + - + f : T - - + + ABCD::F @@ -36,70 +36,75 @@ - - + + A - + - + a : int - - + + B - + - + b : int - - + + C - + - + c : int - - + + D - - print(R * r) : void - - + + + + + + print(R * r) : void + + + - + d : int - - + + E @@ -108,15 +113,15 @@ - + - + e : T - - + + G @@ -125,22 +130,22 @@ - + - + args : std::tuple<Args...> - + - + g : T - - + + E @@ -149,8 +154,8 @@ - - + + G @@ -159,8 +164,8 @@ - - + + E @@ -169,48 +174,93 @@ - - + + R - - get_a(A * a) : int - - get_b(B & b) : int - - get_c(C c) : int - - get_const_b(const B & b) : int - - get_d(D && d) : int - - get_d2(D && d) : int - - get_e<T>(E<T> e) : T - - get_f<T>(const F<T> & f) : T - - get_int_e(const E<int> & e) : int - - get_int_e2(E<int> & e) : int - - get_int_f(const ABCD::F<int> & f) : int - - + + + + + + get_a(A * a) : int + + + + + + + get_b(B & b) : int + + + + + + + get_c(C c) : int + + + + + + + get_const_b(const B & b) : int + + + + + + + get_d(D && d) : int + + + + + + + get_d2(D && d) : int + + + get_e<T>(E<T> e) : T + + get_f<T>(const F<T> & f) : T + + + + + + get_int_e(const E<int> & e) : int + + + + + + + get_int_e2(E<int> & e) : int + + + + + + + get_int_f(const ABCD::F<int> & f) : int + + + - + estring : E<std::string> - + - + gintstring : G<int,float,std::string> diff --git a/docs/test_cases/t00014.md b/docs/test_cases/t00014.md index eed0ddc1..1c8bc16e 100644 --- a/docs/test_cases/t00014.md +++ b/docs/test_cases/t00014.md @@ -298,8 +298,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 12, - "file": "../../../../../../usr/include/c++/11/bits/stl_iterator.h", - "line": 2383, + "file": "../../../../../../usr/include/c++/12/bits/stl_iterator.h", + "line": 2547, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -333,8 +333,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/unique_ptr.h", - "line": 242, + "file": "../../../../../../usr/include/c++/12/bits/unique_ptr.h", + "line": 269, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -368,8 +368,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 12, - "file": "../../../../../../usr/include/c++/11/bits/stl_iterator.h", - "line": 2383, + "file": "../../../../../../usr/include/c++/12/bits/stl_iterator.h", + "line": 2547, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -403,8 +403,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 12, - "file": "../../../../../../usr/include/c++/11/bits/stl_iterator.h", - "line": 2383, + "file": "../../../../../../usr/include/c++/12/bits/stl_iterator.h", + "line": 2547, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -438,8 +438,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/unique_ptr.h", - "line": 242, + "file": "../../../../../../usr/include/c++/12/bits/unique_ptr.h", + "line": 269, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -473,8 +473,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 12, - "file": "../../../../../../usr/include/c++/11/bits/stl_iterator.h", - "line": 2383, + "file": "../../../../../../usr/include/c++/12/bits/stl_iterator.h", + "line": 2547, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -508,8 +508,8 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/shared_ptr.h", - "line": 122, + "file": "../../../../../../usr/include/c++/12/bits/shared_ptr.h", + "line": 175, "translation_unit": "../../tests/t00014/t00014.cc" }, "template_parameters": [ @@ -690,7 +690,7 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/std_function.h", + "file": "../../../../../../usr/include/c++/12/bits/std_function.h", "line": 111, "translation_unit": "../../tests/t00014/t00014.cc" }, @@ -725,7 +725,7 @@ public: "namespace": "clanguml::t00014", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/std_function.h", + "file": "../../../../../../usr/include/c++/12/bits/std_function.h", "line": 111, "translation_unit": "../../tests/t00014/t00014.cc" }, @@ -837,7 +837,7 @@ public: "line": 66, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "AIntString" + "type": "clanguml::t00014::AIntString" }, { "access": "private", @@ -849,7 +849,7 @@ public: "line": 67, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "AStringString" + "type": "clanguml::t00014::AStringString" }, { "access": "private", @@ -861,7 +861,7 @@ public: "line": 68, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "BStringString" + "type": "clanguml::t00014::BStringString" }, { "access": "private", @@ -885,7 +885,7 @@ public: "line": 72, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "BVector" + "type": "clanguml::t00014::BVector" }, { "access": "public", @@ -897,7 +897,7 @@ public: "line": 75, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "BVector2" + "type": "clanguml::t00014::BVector2" }, { "access": "public", @@ -909,7 +909,7 @@ public: "line": 76, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "SimpleCallback" + "type": "SimpleCallback" }, { "access": "public", @@ -921,7 +921,7 @@ public: "line": 77, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "GenericCallback" + "type": "GenericCallback" }, { "access": "public", @@ -933,7 +933,7 @@ public: "line": 78, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "VoidCallback" + "type": "clanguml::t00014::VoidCallback" }, { "access": "public", @@ -945,7 +945,7 @@ public: "line": 79, "translation_unit": "../../tests/t00014/t00014.cc" }, - "type": "VectorPtr" + "type": "VectorPtr" } ], "methods": [], @@ -969,8 +969,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00014_class", diff --git a/docs/test_cases/t00014_class.svg b/docs/test_cases/t00014_class.svg index e9880ebb..111e8f08 100644 --- a/docs/test_cases/t00014_class.svg +++ b/docs/test_cases/t00014_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,424 +9,424 @@ - - - - - A - - T,P - - + + + + + A + + T,P + + - - - + + + - - p : P + + p : P - - - + + + - - t : T + + t : T - - - - - B - - + + + + + B + + - - - + + + - - value : std::string + + value : std::string - - - - - A - - T,std::string - - + + + + + A + + T,std::string + + - - - - - A - - T,std::unique_ptr<std::string> - - + + + + + A + + T,std::unique_ptr<std::string> + + - - - - - A - - long,T - - + + + + + A + + long,T + + - - - - - A - - double,T - - + + + + + A + + double,T + + - - - - - A - - long,U - - + + + + + A + + long,U + + - - - - - A - - long,bool - - + + + + + A + + long,bool + + - - - - - A - - double,bool - - + + + + + A + + double,bool + + - - - - - A - - long,float - - + + + + + A + + long,float + + - - - - - A - - double,float - - + + + + + A + + double,float + + - - - - - A - - bool,std::string - - + + + + + A + + bool,std::string + + - - - - - A - - float,std::unique_ptr<std::string> - - + + + + + A + + float,std::unique_ptr<std::string> + + - - - - - A - - int,std::string - - + + + + + A + + int,std::string + + - - - - - A - - std::string,std::string - - + + + + + A + + std::string,std::string + + - - - - - A - - char,std::string - - + + + + + A + + char,std::string + + - - - - - A - - wchar_t,std::string - - + + + + + A + + wchar_t,std::string + + - - - - - R - - T - - + + + + + R + + T + + - + - + abool : APtr<bool> - + - + aboolfloat : AAPtr<bool,float> - + - + afloat : ASharedPtr<float> - + - + atfloat : AAPtr<T,float> - + - + bapair : PairPairBA<bool> - + - + boolstring : A<bool,std::string> - + - + bs : BVector - + - + bs2 : BVector2 - + - + bstringstring : BStringString - + - + cb : SimpleCallback<ACharString> - + - + floatstring : AStringPtr<float> - + - - gcb : GenericCallback<AWCharString> + + gcb : GenericCallback<R::AWCharString> - + - + intstring : AIntString - + - + stringstring : AStringString - + - + vcb : VoidCallback - + - + vps : VectorPtr<B> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bapair - - - - bapair - - - - bs - - - - bs2 - - - - vps - - - - - - abool - - - - aboolfloat - - - - - - aboolfloat - - - - atfloat - - - - - - afloat - - - - boolstring - - - - floatstring - - - - intstring - - - - stringstring - - - - bstringstring - - - - - - atfloat - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bapair + + + + bapair + + + + bs + + + + bs2 + + + + vps + + + + + + abool + + + + aboolfloat + + + + + + aboolfloat + + + + atfloat + + + + + + afloat + + + + boolstring + + + + floatstring + + + + intstring + + + + stringstring + + + + bstringstring + + + + + + atfloat + + + + diff --git a/docs/test_cases/t00015.md b/docs/test_cases/t00015.md index cc8eddc0..dd3e0e2e 100644 --- a/docs/test_cases/t00015.md +++ b/docs/test_cases/t00015.md @@ -187,8 +187,8 @@ class B : public ns1::ns2::Anon { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00015_class", diff --git a/docs/test_cases/t00015_class.svg b/docs/test_cases/t00015_class.svg index 28c05f6b..b47c55be 100644 --- a/docs/test_cases/t00015_class.svg +++ b/docs/test_cases/t00015_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + ns1::A - - + + ns1::ns2_v0_9_0::A - - + + ns1::Anon - - + + ns3::ns1::ns2::Anon - - + + ns3::B diff --git a/docs/test_cases/t00016.md b/docs/test_cases/t00016.md index 80fcc906..11adcf30 100644 --- a/docs/test_cases/t00016.md +++ b/docs/test_cases/t00016.md @@ -273,8 +273,8 @@ template <> struct is_numeric { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00016_class", diff --git a/docs/test_cases/t00016_class.svg b/docs/test_cases/t00016_class.svg index 30345976..9b36ae2d 100644 --- a/docs/test_cases/t00016_class.svg +++ b/docs/test_cases/t00016_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + is_numeric @@ -21,8 +21,8 @@ value : enum - - + + is_numeric @@ -33,8 +33,8 @@ value : enum - - + + is_numeric @@ -45,8 +45,8 @@ value : enum - - + + is_numeric @@ -57,8 +57,8 @@ value : enum - - + + is_numeric @@ -69,8 +69,8 @@ value : enum - - + + is_numeric diff --git a/docs/test_cases/t00017.md b/docs/test_cases/t00017.md index 7d237529..9c40d269 100644 --- a/docs/test_cases/t00017.md +++ b/docs/test_cases/t00017.md @@ -393,7 +393,7 @@ private: "line": 42, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "A" + "type": "clanguml::t00017::A" }, { "access": "private", @@ -405,7 +405,7 @@ private: "line": 43, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "B *" + "type": "clanguml::t00017::B *" }, { "access": "private", @@ -417,7 +417,7 @@ private: "line": 44, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "C &" + "type": "clanguml::t00017::C &" }, { "access": "private", @@ -429,7 +429,7 @@ private: "line": 45, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "const D *" + "type": "const clanguml::t00017::D *" }, { "access": "private", @@ -441,7 +441,7 @@ private: "line": 46, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "const E &" + "type": "const clanguml::t00017::E &" }, { "access": "private", @@ -453,7 +453,7 @@ private: "line": 47, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "F &&" + "type": "clanguml::t00017::F &&" }, { "access": "private", @@ -465,7 +465,7 @@ private: "line": 48, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "G **" + "type": "clanguml::t00017::G **" }, { "access": "private", @@ -477,7 +477,7 @@ private: "line": 49, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "H ***" + "type": "clanguml::t00017::H ***" }, { "access": "private", @@ -489,7 +489,7 @@ private: "line": 50, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "I *&" + "type": "clanguml::t00017::I *&" }, { "access": "private", @@ -501,7 +501,7 @@ private: "line": 51, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "volatile J *" + "type": "volatile clanguml::t00017::J *" }, { "access": "private", @@ -513,7 +513,7 @@ private: "line": 52, "translation_unit": "../../tests/t00017/t00017.cc" }, - "type": "K *" + "type": "clanguml::t00017::K *" } ], "methods": [ @@ -540,21 +540,27 @@ private: }, { "name": "cc", - "type": "C &" + "type": "clanguml::t00017::C &" }, { "name": "ee", - "type": "const E &" + "type": "const clanguml::t00017::E &" }, { "name": "ff", - "type": "F &&" + "type": "clanguml::t00017::F &&" }, { "name": "ii", - "type": "I *&" + "type": "clanguml::t00017::I *&" } ], + "source_location": { + "column": 14, + "file": "../../tests/t00017/t00017.cc", + "line": 28, + "translation_unit": "../../tests/t00017/t00017.cc" + }, "type": "void" } ], @@ -571,8 +577,8 @@ private: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00017_class", diff --git a/docs/test_cases/t00017_class.svg b/docs/test_cases/t00017_class.svg index 219fdb20..70d032c9 100644 --- a/docs/test_cases/t00017_class.svg +++ b/docs/test_cases/t00017_class.svg @@ -1,6 +1,6 @@ - + @@ -9,130 +9,135 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J - - + + K - - + + R - - R(int & some_int, C & cc, const E & ee, F && ff, I *& ii) : void - - + + + + + + R(int & some_int, C & cc, const E & ee, F && ff, I *& ii) : void + + + - + some_int : int - + - + some_int_pointer : int * - + - + some_int_pointer_pointer : int ** - + - + some_int_reference : int & diff --git a/docs/test_cases/t00018.md b/docs/test_cases/t00018.md index dbe2374a..78a4d032 100644 --- a/docs/test_cases/t00018.md +++ b/docs/test_cases/t00018.md @@ -186,6 +186,12 @@ void widget::draw(const clanguml::t00018::widget &w) "type": "const clanguml::t00018::widget &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00018/t00018_impl.h", + "line": 13, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -210,6 +216,12 @@ void widget::draw(const clanguml::t00018::widget &w) "type": "const clanguml::t00018::widget &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00018/t00018_impl.h", + "line": 14, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -234,6 +246,12 @@ void widget::draw(const clanguml::t00018::widget &w) "type": "int" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00018/t00018_impl.h", + "line": 15, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" } ], @@ -289,6 +307,12 @@ void widget::draw(const clanguml::t00018::widget &w) "is_virtual": false, "name": "draw", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00018/t00018.h", + "line": 21, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -308,6 +332,12 @@ void widget::draw(const clanguml::t00018::widget &w) "is_virtual": false, "name": "draw", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00018/t00018.h", + "line": 22, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -327,6 +357,12 @@ void widget::draw(const clanguml::t00018::widget &w) "is_virtual": false, "name": "shown", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00018/t00018.h", + "line": 23, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "bool" }, { @@ -351,6 +387,12 @@ void widget::draw(const clanguml::t00018::widget &w) "type": "int" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00018/t00018.h", + "line": 24, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -370,6 +412,12 @@ void widget::draw(const clanguml::t00018::widget &w) "is_virtual": false, "name": "~widget", "parameters": [], + "source_location": { + "column": 5, + "file": "../../tests/t00018/t00018.h", + "line": 25, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -391,9 +439,15 @@ void widget::draw(const clanguml::t00018::widget &w) "parameters": [ { "name": "", - "type": "widget &&" + "type": "clanguml::t00018::widget &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00018/t00018.h", + "line": 27, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -415,9 +469,15 @@ void widget::draw(const clanguml::t00018::widget &w) "parameters": [ { "name": "", - "type": "const widget &" + "type": "const clanguml::t00018::widget &" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00018/t00018.h", + "line": 29, + "translation_unit": "../../tests/t00018/t00018.cc" + }, "type": "void" }, { @@ -439,10 +499,16 @@ void widget::draw(const clanguml::t00018::widget &w) "parameters": [ { "name": "", - "type": "widget &&" + "type": "clanguml::t00018::widget &&" } ], - "type": "widget &" + "source_location": { + "column": 13, + "file": "../../tests/t00018/t00018.h", + "line": 30, + "translation_unit": "../../tests/t00018/t00018.cc" + }, + "type": "clanguml::t00018::widget &" }, { "access": "public", @@ -463,10 +529,16 @@ void widget::draw(const clanguml::t00018::widget &w) "parameters": [ { "name": "", - "type": "const widget &" + "type": "const clanguml::t00018::widget &" } ], - "type": "widget &" + "source_location": { + "column": 13, + "file": "../../tests/t00018/t00018.h", + "line": 31, + "translation_unit": "../../tests/t00018/t00018.cc" + }, + "type": "clanguml::t00018::widget &" } ], "name": "widget", @@ -482,8 +554,8 @@ void widget::draw(const clanguml::t00018::widget &w) } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00018_class", diff --git a/docs/test_cases/t00018_class.svg b/docs/test_cases/t00018_class.svg index f11b0f2f..3d915787 100644 --- a/docs/test_cases/t00018_class.svg +++ b/docs/test_cases/t00018_class.svg @@ -1,6 +1,6 @@ - + @@ -9,61 +9,121 @@ - - + + impl::widget - - widget(int n) : void - - - draw(const widget & w) const : void - - draw(const widget & w) : void - - + + + + + + widget(int n) : void + + + + + + + + draw(const widget & w) const : void + + + + + + + draw(const widget & w) : void + + + - + n : int - - + + widget - - widget(int) : void - - widget(widget &&) : void - - widget(const widget &) = deleted : void - - ~widget() : void - - - operator=(widget &&) : widget & - - operator=(const widget &) = deleted : widget & - - - draw() const : void - - draw() : void - - shown() const : bool - - + + + + + + widget(int) : void + + + + + + + widget(widget &&) : void + + + + + + + widget(const widget &) = deleted : void + + + + + + + ~widget() : void + + + + + + + + operator=(widget &&) : widget & + + + + + + + operator=(const widget &) = deleted : widget & + + + + + + + + draw() const : void + + + + + + + draw() : void + + + + + + + shown() const : bool + + + - + pImpl : std::unique_ptr<impl::widget> diff --git a/docs/test_cases/t00019.md b/docs/test_cases/t00019.md index b5b39a21..345c17f1 100644 --- a/docs/test_cases/t00019.md +++ b/docs/test_cases/t00019.md @@ -185,6 +185,12 @@ class Base { "is_virtual": false, "name": "Base", "parameters": [], + "source_location": { + "column": 5, + "file": "../../tests/t00019/t00019_base.h", + "line": 10, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "void" }, { @@ -204,6 +210,12 @@ class Base { "is_virtual": true, "name": "~Base", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00019/t00019_base.h", + "line": 12, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "void" }, { @@ -223,6 +235,12 @@ class Base { "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 17, + "file": "../../tests/t00019/t00019_base.h", + "line": 14, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" }, { @@ -242,6 +260,12 @@ class Base { "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 25, + "file": "../../tests/t00019/t00019_base.h", + "line": 16, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "std::string" } ], @@ -284,6 +308,12 @@ class Base { "is_virtual": false, "name": "m1", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00019/t00019_layer1.h", + "line": 13, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" }, { @@ -303,6 +333,12 @@ class Base { "is_virtual": false, "name": "m2", "parameters": [], + "source_location": { + "column": 17, + "file": "../../tests/t00019/t00019_layer1.h", + "line": 19, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "std::string" } ], @@ -352,6 +388,12 @@ class Base { "is_virtual": false, "name": "all_calls_count", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00019/t00019_layer2.h", + "line": 14, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" } ], @@ -426,6 +468,12 @@ class Base { "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 17, + "file": "../../tests/t00019/t00019_layer3.h", + "line": 12, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" }, { @@ -445,6 +493,12 @@ class Base { "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 25, + "file": "../../tests/t00019/t00019_layer3.h", + "line": 18, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "std::string" }, { @@ -464,6 +518,12 @@ class Base { "is_virtual": false, "name": "m1_calls", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00019/t00019_layer3.h", + "line": 24, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" }, { @@ -483,6 +543,12 @@ class Base { "is_virtual": false, "name": "m2_calls", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00019/t00019_layer3.h", + "line": 26, + "translation_unit": "../../tests/t00019/t00019.cc" + }, "type": "int" } ], @@ -605,8 +671,8 @@ class Base { "namespace": "clanguml::t00019", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/unique_ptr.h", - "line": 242, + "file": "../../../../../../usr/include/c++/12/bits/unique_ptr.h", + "line": 269, "translation_unit": "../../tests/t00019/t00019.cc" }, "template_parameters": [ @@ -670,8 +736,8 @@ class Base { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00019_class", diff --git a/docs/test_cases/t00019_class.svg b/docs/test_cases/t00019_class.svg index 76530fcb..c8afdd6b 100644 --- a/docs/test_cases/t00019_class.svg +++ b/docs/test_cases/t00019_class.svg @@ -1,6 +1,6 @@ - + @@ -9,83 +9,138 @@ - - + + Base - - Base() = default : void - - ~Base() constexpr = default : void - - - m1() : int - - m2() : std::string - - - + + + + + + Base() = default : void + + + + + + + ~Base() constexpr = default : void + + + + + + + + m1() : int + + + + + + + m2() : std::string + + + + Layer1 LowerLayer - - m1() : int - - m2() : std::string - - - + + + + + + m1() : int + + + + + + + m2() : std::string + + + + Layer2 LowerLayer - - all_calls_count() const : int - - - + + + + + + all_calls_count() const : int + + + + Layer3 LowerLayer - - m1() : int - - m1_calls() const : int - - m2() : std::string - - m2_calls() const : int - - + + + + + + m1() : int + + + + + + + m1_calls() const : int + + + + + + + m2() : std::string + + + + + + + m2_calls() const : int + + + - + m_m1_calls : int - + - + m_m2_calls : int - - + + Layer3 @@ -94,8 +149,8 @@ - - + + Layer2 @@ -104,8 +159,8 @@ - - + + Layer1 @@ -114,19 +169,19 @@ - - + + A - + - + layers : std::unique_ptr<Layer1<Layer2<Layer3<Base>>>> diff --git a/docs/test_cases/t00020.md b/docs/test_cases/t00020.md index 007da665..934ddddc 100644 --- a/docs/test_cases/t00020.md +++ b/docs/test_cases/t00020.md @@ -131,6 +131,12 @@ public: "is_virtual": true, "name": "~ProductA", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00020/t00020.cc", + "line": 8, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "void" }, { @@ -155,6 +161,12 @@ public: "type": "int" } ], + "source_location": { + "column": 18, + "file": "../../tests/t00020/t00020.cc", + "line": 9, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -209,6 +221,12 @@ public: "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00020/t00020.cc", + "line": 14, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -263,6 +281,12 @@ public: "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00020/t00020.cc", + "line": 19, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -305,6 +329,12 @@ public: "is_virtual": true, "name": "~ProductB", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00020/t00020.cc", + "line": 24, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "void" }, { @@ -329,6 +359,12 @@ public: "type": "int" } ], + "source_location": { + "column": 18, + "file": "../../tests/t00020/t00020.cc", + "line": 25, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -383,6 +419,12 @@ public: "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00020/t00020.cc", + "line": 30, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -437,6 +479,12 @@ public: "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00020/t00020.cc", + "line": 35, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "bool" } ], @@ -479,6 +527,12 @@ public: "is_virtual": true, "name": "make_a", "parameters": [], + "source_location": { + "column": 39, + "file": "../../tests/t00020/t00020.cc", + "line": 40, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" }, { @@ -498,6 +552,12 @@ public: "is_virtual": true, "name": "make_b", "parameters": [], + "source_location": { + "column": 39, + "file": "../../tests/t00020/t00020.cc", + "line": 41, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" } ], @@ -547,6 +607,12 @@ public: "is_virtual": true, "name": "make_a", "parameters": [], + "source_location": { + "column": 31, + "file": "../../tests/t00020/t00020.cc", + "line": 46, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" }, { @@ -566,6 +632,12 @@ public: "is_virtual": true, "name": "make_b", "parameters": [], + "source_location": { + "column": 31, + "file": "../../tests/t00020/t00020.cc", + "line": 51, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" } ], @@ -615,6 +687,12 @@ public: "is_virtual": true, "name": "make_a", "parameters": [], + "source_location": { + "column": 31, + "file": "../../tests/t00020/t00020.cc", + "line": 59, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" }, { @@ -634,6 +712,12 @@ public: "is_virtual": true, "name": "make_b", "parameters": [], + "source_location": { + "column": 31, + "file": "../../tests/t00020/t00020.cc", + "line": 64, + "translation_unit": "../../tests/t00020/t00020.cc" + }, "type": "std::unique_ptr" } ], @@ -650,8 +734,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00020_class", diff --git a/docs/test_cases/t00020_class.svg b/docs/test_cases/t00020_class.svg index 2d82d66e..2da2df40 100644 --- a/docs/test_cases/t00020_class.svg +++ b/docs/test_cases/t00020_class.svg @@ -1,6 +1,6 @@ - + @@ -9,108 +9,178 @@ - - + + ProductA - - ~ProductA() constexpr = default : void - - - sell(int price) const = 0 : bool - - - + + + + + + ~ProductA() constexpr = default : void + + + + + + + + sell(int price) const = 0 : bool + + + + ProductA1 - - sell(int price) const : bool - - - + + + + + + sell(int price) const : bool + + + + ProductA2 - - sell(int price) const : bool - - - + + + + + + sell(int price) const : bool + + + + ProductB - - ~ProductB() constexpr = default : void - - - buy(int price) const = 0 : bool - - - + + + + + + ~ProductB() constexpr = default : void + + + + + + + + buy(int price) const = 0 : bool + + + + ProductB1 - - buy(int price) const : bool - - - + + + + + + buy(int price) const : bool + + + + ProductB2 - - buy(int price) const : bool - - - + + + + + + buy(int price) const : bool + + + + AbstractFactory - - make_a() const = 0 : std::unique_ptr<ProductA> - - make_b() const = 0 : std::unique_ptr<ProductB> - - - + + + + + + make_a() const = 0 : std::unique_ptr<ProductA> + + + + + + + make_b() const = 0 : std::unique_ptr<ProductB> + + + + Factory1 - - make_a() const : std::unique_ptr<ProductA> - - make_b() const : std::unique_ptr<ProductB> - - - + + + + + + make_a() const : std::unique_ptr<ProductA> + + + + + + + make_b() const : std::unique_ptr<ProductB> + + + + Factory2 - - make_a() const : std::unique_ptr<ProductA> - - make_b() const : std::unique_ptr<ProductB> - + + + + + + make_a() const : std::unique_ptr<ProductA> + + + + + + + make_b() const : std::unique_ptr<ProductB> + + diff --git a/docs/test_cases/t00021.md b/docs/test_cases/t00021.md index d5a1ed0d..f6b2aaf3 100644 --- a/docs/test_cases/t00021.md +++ b/docs/test_cases/t00021.md @@ -105,6 +105,12 @@ public: "is_virtual": true, "name": "~Visitor", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00021/t00021.cc", + "line": 11, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -126,9 +132,15 @@ public: "parameters": [ { "name": "item", - "type": "const A &" + "type": "const clanguml::t00021::A &" } ], + "source_location": { + "column": 18, + "file": "../../tests/t00021/t00021.cc", + "line": 12, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -150,9 +162,15 @@ public: "parameters": [ { "name": "item", - "type": "const B &" + "type": "const clanguml::t00021::B &" } ], + "source_location": { + "column": 18, + "file": "../../tests/t00021/t00021.cc", + "line": 13, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -204,9 +222,15 @@ public: "parameters": [ { "name": "item", - "type": "const A &" + "type": "const clanguml::t00021::A &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 18, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -228,9 +252,15 @@ public: "parameters": [ { "name": "item", - "type": "const B &" + "type": "const clanguml::t00021::B &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 19, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -282,9 +312,15 @@ public: "parameters": [ { "name": "item", - "type": "const A &" + "type": "const clanguml::t00021::A &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 24, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -306,9 +342,15 @@ public: "parameters": [ { "name": "item", - "type": "const B &" + "type": "const clanguml::t00021::B &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 25, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -360,9 +402,15 @@ public: "parameters": [ { "name": "item", - "type": "const A &" + "type": "const clanguml::t00021::A &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 30, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -384,9 +432,15 @@ public: "parameters": [ { "name": "item", - "type": "const B &" + "type": "const clanguml::t00021::B &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 31, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -429,6 +483,12 @@ public: "is_virtual": true, "name": "~Item", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00021/t00021.cc", + "line": 36, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" }, { @@ -450,9 +510,15 @@ public: "parameters": [ { "name": "visitor", - "type": "const Visitor &" + "type": "const clanguml::t00021::Visitor &" } ], + "source_location": { + "column": 18, + "file": "../../tests/t00021/t00021.cc", + "line": 37, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -504,9 +570,15 @@ public: "parameters": [ { "name": "visitor", - "type": "const Visitor &" + "type": "const clanguml::t00021::Visitor &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 42, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -558,9 +630,15 @@ public: "parameters": [ { "name": "visitor", - "type": "const Visitor &" + "type": "const clanguml::t00021::Visitor &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00021/t00021.cc", + "line": 47, + "translation_unit": "../../tests/t00021/t00021.cc" + }, "type": "void" } ], @@ -577,8 +655,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00021_class", diff --git a/docs/test_cases/t00021_class.svg b/docs/test_cases/t00021_class.svg index c6cb4edf..63152d09 100644 --- a/docs/test_cases/t00021_class.svg +++ b/docs/test_cases/t00021_class.svg @@ -1,6 +1,6 @@ - + @@ -9,90 +9,155 @@ - - + + Visitor - - ~Visitor() constexpr = default : void - - - visit_A(const A & item) const = 0 : void - - visit_B(const B & item) const = 0 : void - - - + + + + + + ~Visitor() constexpr = default : void + + + + + + + + visit_A(const A & item) const = 0 : void + + + + + + + visit_B(const B & item) const = 0 : void + + + + Visitor1 - - visit_A(const A & item) const : void - - visit_B(const B & item) const : void - - - + + + + + + visit_A(const A & item) const : void + + + + + + + visit_B(const B & item) const : void + + + + Visitor2 - - visit_A(const A & item) const : void - - visit_B(const B & item) const : void - - - + + + + + + visit_A(const A & item) const : void + + + + + + + visit_B(const B & item) const : void + + + + Visitor3 - - visit_A(const A & item) const : void - - visit_B(const B & item) const : void - - - + + + + + + visit_A(const A & item) const : void + + + + + + + visit_B(const B & item) const : void + + + + Item - - ~Item() constexpr = default : void - - - accept(const Visitor & visitor) const = 0 : void - - - + + + + + + ~Item() constexpr = default : void + + + + + + + + accept(const Visitor & visitor) const = 0 : void + + + + A - - accept(const Visitor & visitor) const : void - - - + + + + + + accept(const Visitor & visitor) const : void + + + + B - - accept(const Visitor & visitor) const : void - + + + + + + accept(const Visitor & visitor) const : void + + diff --git a/docs/test_cases/t00022.md b/docs/test_cases/t00022.md index 8ce26d7d..601f545f 100644 --- a/docs/test_cases/t00022.md +++ b/docs/test_cases/t00022.md @@ -86,6 +86,12 @@ protected: "is_virtual": false, "name": "template_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00022/t00022.cc", + "line": 8, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" }, { @@ -105,6 +111,12 @@ protected: "is_virtual": true, "name": "method1", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00022/t00022.cc", + "line": 15, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" }, { @@ -124,6 +136,12 @@ protected: "is_virtual": true, "name": "method2", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00022/t00022.cc", + "line": 16, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" } ], @@ -173,6 +191,12 @@ protected: "is_virtual": true, "name": "method1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00022/t00022.cc", + "line": 21, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" }, { @@ -192,6 +216,12 @@ protected: "is_virtual": true, "name": "method2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00022/t00022.cc", + "line": 22, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" } ], @@ -241,6 +271,12 @@ protected: "is_virtual": true, "name": "method1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00022/t00022.cc", + "line": 27, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" }, { @@ -260,6 +296,12 @@ protected: "is_virtual": true, "name": "method2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00022/t00022.cc", + "line": 28, + "translation_unit": "../../tests/t00022/t00022.cc" + }, "type": "void" } ], @@ -276,8 +318,8 @@ protected: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00022_class", diff --git a/docs/test_cases/t00022_class.svg b/docs/test_cases/t00022_class.svg index 26cf4d56..634dbeee 100644 --- a/docs/test_cases/t00022_class.svg +++ b/docs/test_cases/t00022_class.svg @@ -1,6 +1,6 @@ - + @@ -9,44 +9,79 @@ - - + + A - - method1() = 0 : void - - method2() = 0 : void - - template_method() : void - - - + + + + + + method1() = 0 : void + + + + + + + method2() = 0 : void + + + + + + + template_method() : void + + + + A1 - - method1() : void - - method2() : void - - - + + + + + + method1() : void + + + + + + + method2() : void + + + + A2 - - method1() : void - - method2() : void - + + + + + + method1() : void + + + + + + + method2() : void + + diff --git a/docs/test_cases/t00023.md b/docs/test_cases/t00023.md index 1045769a..43aade0f 100644 --- a/docs/test_cases/t00023.md +++ b/docs/test_cases/t00023.md @@ -95,6 +95,12 @@ private: "is_virtual": true, "name": "~Strategy", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00023/t00023.cc", + "line": 8, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" }, { @@ -114,6 +120,12 @@ private: "is_virtual": true, "name": "algorithm", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00023/t00023.cc", + "line": 9, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" } ], @@ -163,6 +175,12 @@ private: "is_virtual": true, "name": "algorithm", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00023/t00023.cc", + "line": 14, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" } ], @@ -212,6 +230,12 @@ private: "is_virtual": true, "name": "algorithm", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00023/t00023.cc", + "line": 19, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" } ], @@ -261,6 +285,12 @@ private: "is_virtual": true, "name": "algorithm", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00023/t00023.cc", + "line": 24, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" } ], @@ -321,6 +351,12 @@ private: "type": "std::unique_ptr" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00023/t00023.cc", + "line": 29, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" }, { @@ -340,6 +376,12 @@ private: "is_virtual": false, "name": "apply", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00023/t00023.cc", + "line": 34, + "translation_unit": "../../tests/t00023/t00023.cc" + }, "type": "void" } ], @@ -356,8 +398,8 @@ private: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00023_class", diff --git a/docs/test_cases/t00023_class.svg b/docs/test_cases/t00023_class.svg index 9782fc64..95a7eacb 100644 --- a/docs/test_cases/t00023_class.svg +++ b/docs/test_cases/t00023_class.svg @@ -1,6 +1,6 @@ - + @@ -9,67 +9,102 @@ - - + + Strategy - - ~Strategy() constexpr = default : void - - - algorithm() = 0 : void - - - + + + + + + ~Strategy() constexpr = default : void + + + + + + + + algorithm() = 0 : void + + + + StrategyA - - algorithm() : void - - - + + + + + + algorithm() : void + + + + StrategyB - - algorithm() : void - - - + + + + + + algorithm() : void + + + + StrategyC - - algorithm() : void - - - + + + + + + algorithm() : void + + + + Context - - Context(std::unique_ptr<Strategy> strategy) : void - - - apply() : void - - + + + + + + Context(std::unique_ptr<Strategy> strategy) : void + + + + + + + + apply() : void + + + - + m_strategy : std::unique_ptr<Strategy> diff --git a/docs/test_cases/t00024.md b/docs/test_cases/t00024.md index c978e840..006505eb 100644 --- a/docs/test_cases/t00024.md +++ b/docs/test_cases/t00024.md @@ -94,6 +94,12 @@ private: "is_virtual": true, "name": "~Target", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00024/t00024.cc", + "line": 8, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -113,6 +119,12 @@ private: "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00024/t00024.cc", + "line": 10, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -132,6 +144,12 @@ private: "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00024/t00024.cc", + "line": 11, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" } ], @@ -181,6 +199,12 @@ private: "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 16, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -200,6 +224,12 @@ private: "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 17, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" } ], @@ -249,6 +279,12 @@ private: "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 22, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -268,6 +304,12 @@ private: "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 23, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" } ], @@ -335,6 +377,12 @@ private: "type": "std::shared_ptr" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00024/t00024.cc", + "line": 28, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -354,6 +402,12 @@ private: "is_virtual": true, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 32, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" }, { @@ -373,6 +427,12 @@ private: "is_virtual": true, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00024/t00024.cc", + "line": 33, + "translation_unit": "../../tests/t00024/t00024.cc" + }, "type": "void" } ], @@ -389,8 +449,8 @@ private: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00024_class", diff --git a/docs/test_cases/t00024_class.svg b/docs/test_cases/t00024_class.svg index 558d29f4..70c0d2e9 100644 --- a/docs/test_cases/t00024_class.svg +++ b/docs/test_cases/t00024_class.svg @@ -1,6 +1,6 @@ - + @@ -9,65 +9,115 @@ - - + + Target - - ~Target() = 0 : void - - - m1() = 0 : void - - m2() = 0 : void - - - + + + + + + ~Target() = 0 : void + + + + + + + + m1() = 0 : void + + + + + + + m2() = 0 : void + + + + Target1 - - m1() : void - - m2() : void - - - + + + + + + m1() : void + + + + + + + m2() : void + + + + Target2 - - m1() : void - - m2() : void - - - + + + + + + m1() : void + + + + + + + m2() : void + + + + Proxy - - Proxy(std::shared_ptr<Target> target) : void - - - m1() : void - - m2() : void - - + + + + + + Proxy(std::shared_ptr<Target> target) : void + + + + + + + + m1() : void + + + + + + + m2() : void + + + - + m_target : std::shared_ptr<Target> diff --git a/docs/test_cases/t00025.md b/docs/test_cases/t00025.md index 69c470c7..07ffb836 100644 --- a/docs/test_cases/t00025.md +++ b/docs/test_cases/t00025.md @@ -92,6 +92,12 @@ public: "is_virtual": false, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 8, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" }, { @@ -111,6 +117,12 @@ public: "is_virtual": false, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 9, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" } ], @@ -153,6 +165,12 @@ public: "is_virtual": false, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 14, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" }, { @@ -172,6 +190,12 @@ public: "is_virtual": false, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 15, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" } ], @@ -232,6 +256,12 @@ public: "type": "std::shared_ptr" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00025/t00025.cc", + "line": 20, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" }, { @@ -251,6 +281,12 @@ public: "is_virtual": false, "name": "m1", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 24, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" }, { @@ -270,6 +306,12 @@ public: "is_virtual": false, "name": "m2", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00025/t00025.cc", + "line": 25, + "translation_unit": "../../tests/t00025/t00025.cc" + }, "type": "void" } ], @@ -369,7 +411,7 @@ public: "line": 33, "translation_unit": "../../tests/t00025/t00025.cc" }, - "type": "Proxy" + "type": "Proxy" }, { "access": "public", @@ -381,7 +423,7 @@ public: "line": 34, "translation_unit": "../../tests/t00025/t00025.cc" }, - "type": "Proxy" + "type": "Proxy" } ], "methods": [], @@ -398,8 +440,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00025_class", diff --git a/docs/test_cases/t00025_class.svg b/docs/test_cases/t00025_class.svg index 59442971..b3054c0c 100644 --- a/docs/test_cases/t00025_class.svg +++ b/docs/test_cases/t00025_class.svg @@ -1,6 +1,6 @@ - + @@ -9,56 +9,91 @@ - - + + Target1 - - m1() : void - - m2() : void - - - + + + + + + m1() : void + + + + + + + m2() : void + + + + Target2 - - m1() : void - - m2() : void - - - + + + + + + m1() : void + + + + + + + m2() : void + + + + Proxy T - - Proxy(std::shared_ptr<T> target) : void - - - m1() : void - - m2() : void - - + + + + + + Proxy(std::shared_ptr<T> target) : void + + + + + + + + m1() : void + + + + + + + m2() : void + + + - + m_target : std::shared_ptr<T> - - + + Proxy @@ -67,8 +102,8 @@ - - + + Proxy @@ -77,26 +112,26 @@ - - + + ProxyHolder - + - + proxy1 : Proxy<Target1> - + - + proxy2 : Proxy<Target2> diff --git a/docs/test_cases/t00026.md b/docs/test_cases/t00026.md index c0b345ef..75a3bec4 100644 --- a/docs/test_cases/t00026.md +++ b/docs/test_cases/t00026.md @@ -131,6 +131,12 @@ struct StringMemento { "type": "T &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00026/t00026.cc", + "line": 10, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" }, { @@ -150,6 +156,12 @@ struct StringMemento { "is_virtual": false, "name": "value", "parameters": [], + "source_location": { + "column": 7, + "file": "../../tests/t00026/t00026.cc", + "line": 15, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "T" } ], @@ -217,6 +229,12 @@ struct StringMemento { "type": "T &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00026/t00026.cc", + "line": 23, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" }, { @@ -236,6 +254,12 @@ struct StringMemento { "is_virtual": false, "name": "memoize_value", "parameters": [], + "source_location": { + "column": 16, + "file": "../../tests/t00026/t00026.cc", + "line": 28, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "Memento" }, { @@ -260,6 +284,12 @@ struct StringMemento { "type": "const Memento &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00026/t00026.cc", + "line": 30, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" }, { @@ -279,6 +309,12 @@ struct StringMemento { "is_virtual": false, "name": "print", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00026/t00026.cc", + "line": 32, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" }, { @@ -303,6 +339,12 @@ struct StringMemento { "type": "T &&" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00026/t00026.cc", + "line": 34, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" } ], @@ -370,6 +412,12 @@ struct StringMemento { "type": "const std::string &" } ], + "source_location": { + "column": 17, + "file": "../../tests/t00026/t00026.cc", + "line": 42, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "Memento &" }, { @@ -398,6 +446,12 @@ struct StringMemento { "type": "Memento &&" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00026/t00026.cc", + "line": 44, + "translation_unit": "../../tests/t00026/t00026.cc" + }, "type": "void" } ], @@ -526,8 +580,8 @@ struct StringMemento { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00026_class", diff --git a/docs/test_cases/t00026_class.svg b/docs/test_cases/t00026_class.svg index c890c605..e7c75afa 100644 --- a/docs/test_cases/t00026_class.svg +++ b/docs/test_cases/t00026_class.svg @@ -1,6 +1,6 @@ - + @@ -9,79 +9,124 @@ - - + + Memento T - - Memento(T && v) : void - - - value() const : T - - + + + + + + Memento(T && v) : void + + + + + + + + value() const : T + + + - + m_value : T - - + + Originator T - - Originator(T && v) : void - - - load(const Memento<T> & m) : void - - memoize_value() const : Memento<T> - - print() const : void - - set(T && v) : void - - + + + + + + Originator(T && v) : void + + + + + + + + load(const Memento<T> & m) : void + + + + + + + memoize_value() const : Memento<T> + + + + + + + print() const : void + + + + + + + set(T && v) : void + + + - + m_value : T - - + + Caretaker T - - set_state(const std::string & s, Memento<T> && m) : void - - state(const std::string & n) : Memento<T> & - - + + + + + + set_state(const std::string & s, Memento<T> && m) : void + + + + + + + state(const std::string & n) : Memento<T> & + + + - + m_mementos : std::unordered_map<std::string,Memento<T>> - - + + Caretaker @@ -90,8 +135,8 @@ - - + + Originator @@ -100,26 +145,26 @@ - - + + StringMemento - + - + caretaker : Caretaker<std::string> - + - + originator : Originator<std::string> diff --git a/docs/test_cases/t00027.md b/docs/test_cases/t00027.md index d73a14bd..e7bd73ad 100644 --- a/docs/test_cases/t00027.md +++ b/docs/test_cases/t00027.md @@ -110,6 +110,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00027/t00027.cc", + "line": 10, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" }, { @@ -129,6 +135,12 @@ struct Window { "is_virtual": true, "name": "~Shape", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00027/t00027.cc", + "line": 11, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -206,6 +218,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00027/t00027.cc", + "line": 17, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -290,6 +308,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00027/t00027.cc", + "line": 27, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -339,6 +363,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00027/t00027.cc", + "line": 35, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -388,6 +418,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00027/t00027.cc", + "line": 40, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -444,6 +480,12 @@ struct Window { "is_virtual": true, "name": "display", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00027/t00027.cc", + "line": 45, + "translation_unit": "../../tests/t00027/t00027.cc" + }, "type": "void" } ], @@ -666,8 +708,8 @@ struct Window { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00027_class", diff --git a/docs/test_cases/t00027_class.svg b/docs/test_cases/t00027_class.svg index 764b5b06..18e20cb1 100644 --- a/docs/test_cases/t00027_class.svg +++ b/docs/test_cases/t00027_class.svg @@ -1,6 +1,6 @@ - + @@ -9,95 +9,130 @@ - - + + Shape - - ~Shape() constexpr = default : void - - - display() = 0 : void - - - + + + + + + ~Shape() constexpr = default : void + + + + + + + + display() = 0 : void + + + + Line - - + + Line T<>... - - display() : void - - - + + + + + + display() : void + + + + Text - - + + Text T<>... - - display() : void - - - + + + + + + display() : void + + + + ShapeDecorator - - display() = 0 : void - - - + + + + + + display() = 0 : void + + + + Color T - - display() : void - - - + + + + + + display() : void + + + + Weight T - - display() : void - - - + + + + + + display() : void + + + + Line @@ -106,8 +141,8 @@ - - + + Line @@ -116,8 +151,8 @@ - - + + Text @@ -126,8 +161,8 @@ - - + + Text @@ -136,40 +171,40 @@ - - + + Window - + - + border : Line<Color,Weight> - + - + description : Text<Color> - + - + divider : Line<Color> - + - + title : Text<Color,Weight> diff --git a/docs/test_cases/t00028.md b/docs/test_cases/t00028.md index b436c914..a199862b 100644 --- a/docs/test_cases/t00028.md +++ b/docs/test_cases/t00028.md @@ -347,7 +347,7 @@ class R { "line": 43, "translation_unit": "../../tests/t00028/t00028.cc" }, - "type": "A" + "type": "clanguml::t00028::A" }, { "access": "private", @@ -363,7 +363,7 @@ class R { "line": 46, "translation_unit": "../../tests/t00028/t00028.cc" }, - "type": "B *" + "type": "clanguml::t00028::B *" }, { "access": "private", @@ -375,7 +375,7 @@ class R { "line": 48, "translation_unit": "../../tests/t00028/t00028.cc" }, - "type": "C &" + "type": "clanguml::t00028::C &" }, { "access": "private", @@ -411,7 +411,7 @@ class R { "line": 54, "translation_unit": "../../tests/t00028/t00028.cc" }, - "type": "G **" + "type": "clanguml::t00028::G **" } ], "methods": [ @@ -434,9 +434,15 @@ class R { "parameters": [ { "name": "c", - "type": "C &" + "type": "clanguml::t00028::C &" } ], + "source_location": { + "column": 14, + "file": "../../tests/t00028/t00028.cc", + "line": 37, + "translation_unit": "../../tests/t00028/t00028.cc" + }, "type": "void" } ], @@ -453,8 +459,8 @@ class R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00028_class", diff --git a/docs/test_cases/t00028_class.svg b/docs/test_cases/t00028_class.svg index 5411b3bd..9c1bf651 100644 --- a/docs/test_cases/t00028_class.svg +++ b/docs/test_cases/t00028_class.svg @@ -1,6 +1,6 @@ - + @@ -9,54 +9,54 @@ - - + + A - + A class note. - - + + B - + B class note. - - + + C - + C class note. - - + + D - + D class note. - - + + E @@ -65,26 +65,26 @@ - + - + param : T - + E template class note. - - + + G - - + + F @@ -94,11 +94,11 @@ three - + F enum note. - - + + E @@ -107,65 +107,70 @@ - - + + R - - R(C & c) : void - - + + + + + + R(C & c) : void + + + - + aaa : A - + - + bbb : B * - + - + ccc : C & - + - + ddd : std::vector<std::shared_ptr<D>> - + - + eee : E<int> - + - + ggg : G ** - + R class note. - + R contains an instance of A. - + Reference to C. diff --git a/docs/test_cases/t00029.md b/docs/test_cases/t00029.md index 31629055..b69f2a90 100644 --- a/docs/test_cases/t00029.md +++ b/docs/test_cases/t00029.md @@ -265,7 +265,7 @@ struct R { "line": 35, "translation_unit": "../../tests/t00029/t00029.cc" }, - "type": "G1" + "type": "clanguml::t00029::G1" }, { "access": "public", @@ -281,7 +281,7 @@ struct R { "line": 41, "translation_unit": "../../tests/t00029/t00029.cc" }, - "type": "G3 &" + "type": "clanguml::t00029::G3 &" }, { "access": "public", @@ -310,8 +310,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00029_class", diff --git a/docs/test_cases/t00029_class.svg b/docs/test_cases/t00029_class.svg index 45acecfc..a8a8389c 100644 --- a/docs/test_cases/t00029_class.svg +++ b/docs/test_cases/t00029_class.svg @@ -1,6 +1,6 @@ - + @@ -9,16 +9,16 @@ - - + + A - - + + C @@ -27,15 +27,15 @@ - + - + param : T - - + + E @@ -45,65 +45,65 @@ three - - + + G1 - - + + G2 - - + + G3 - - + + G4 - - + + R - + - + g1 : G1 - + - + g3 : G3 & - + - + g4 : std::shared_ptr<G4> diff --git a/docs/test_cases/t00030.md b/docs/test_cases/t00030.md index 070b82d4..79b38af3 100644 --- a/docs/test_cases/t00030.md +++ b/docs/test_cases/t00030.md @@ -196,7 +196,7 @@ struct R { "line": 19, "translation_unit": "../../tests/t00030/t00030.cc" }, - "type": "A" + "type": "clanguml::t00030::A" }, { "access": "public", @@ -244,7 +244,7 @@ struct R { "line": 28, "translation_unit": "../../tests/t00030/t00030.cc" }, - "type": "D" + "type": "clanguml::t00030::D" }, { "access": "public", @@ -260,7 +260,7 @@ struct R { "line": 31, "translation_unit": "../../tests/t00030/t00030.cc" }, - "type": "E *" + "type": "clanguml::t00030::E *" } ], "methods": [], @@ -277,8 +277,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00030_class", diff --git a/docs/test_cases/t00030_class.svg b/docs/test_cases/t00030_class.svg index 550be0d1..33d826be 100644 --- a/docs/test_cases/t00030_class.svg +++ b/docs/test_cases/t00030_class.svg @@ -1,6 +1,6 @@ - + @@ -9,87 +9,87 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + R - + - + aaa : A - + - + bbb : std::vector<B> - + - + ccc : std::vector<C> - + - + ddd : D - + - + eee : E * diff --git a/docs/test_cases/t00031.md b/docs/test_cases/t00031.md index f244572b..75c1219e 100644 --- a/docs/test_cases/t00031.md +++ b/docs/test_cases/t00031.md @@ -233,7 +233,7 @@ struct R { "line": 22, "translation_unit": "../../tests/t00031/t00031.cc" }, - "type": "A *" + "type": "clanguml::t00031::A *" }, { "access": "public", @@ -281,7 +281,7 @@ struct R { "line": 32, "translation_unit": "../../tests/t00031/t00031.cc" }, - "type": "D *" + "type": "clanguml::t00031::D *" } ], "methods": [], @@ -298,8 +298,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00031_class", diff --git a/docs/test_cases/t00031_class.svg b/docs/test_cases/t00031_class.svg index 4c4001e7..5ff19b0b 100644 --- a/docs/test_cases/t00031_class.svg +++ b/docs/test_cases/t00031_class.svg @@ -1,33 +1,33 @@ - + - + - + - - - + + + A - - + + B @@ -37,8 +37,8 @@ three - - + + @@ -48,23 +48,23 @@ - + - + ttt : T - - + + D - - + + C @@ -73,40 +73,40 @@ - - + + R - + - + aaa : A * - + - + bbb : std::vector<B> - + - + ccc : C<int> - + - + ddd : D * diff --git a/docs/test_cases/t00032.md b/docs/test_cases/t00032.md index 76cc3307..df7db6de 100644 --- a/docs/test_cases/t00032.md +++ b/docs/test_cases/t00032.md @@ -135,6 +135,12 @@ struct R { "is_virtual": false, "name": "operator()", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00032/t00032.cc", + "line": 12, + "translation_unit": "../../tests/t00032/t00032.cc" + }, "type": "void" } ], @@ -177,6 +183,12 @@ struct R { "is_virtual": false, "name": "operator()", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00032/t00032.cc", + "line": 16, + "translation_unit": "../../tests/t00032/t00032.cc" + }, "type": "void" } ], @@ -219,6 +231,12 @@ struct R { "is_virtual": false, "name": "operator()", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00032/t00032.cc", + "line": 20, + "translation_unit": "../../tests/t00032/t00032.cc" + }, "type": "void" } ], @@ -392,7 +410,7 @@ struct R { "line": 32, "translation_unit": "../../tests/t00032/t00032.cc" }, - "type": "Overload" + "type": "Overload" } ], "methods": [], @@ -409,8 +427,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00032_class", diff --git a/docs/test_cases/t00032_class.svg b/docs/test_cases/t00032_class.svg index d37a6e3a..4806a72c 100644 --- a/docs/test_cases/t00032_class.svg +++ b/docs/test_cases/t00032_class.svg @@ -1,6 +1,6 @@ - + @@ -9,54 +9,69 @@ - - + + Base - - + + TBase - - + + A - - operator()() : void - - - + + + + + + operator()() : void + + + + B - - operator()() : void - - - + + + + + + operator()() : void + + + + C - - operator()() : void - - - + + + + + + operator()() : void + + + + Overload @@ -65,15 +80,15 @@ - + - + counter : L - - + + Overload @@ -82,19 +97,19 @@ - - + + R - + - + overload : Overload<TBase,int,A,B,C> diff --git a/docs/test_cases/t00033.md b/docs/test_cases/t00033.md index 866b26dc..44b8cb81 100644 --- a/docs/test_cases/t00033.md +++ b/docs/test_cases/t00033.md @@ -231,8 +231,8 @@ struct R { "namespace": "clanguml::t00033", "source_location": { "column": 11, - "file": "../../../../../../usr/include/c++/11/bits/unique_ptr.h", - "line": 242, + "file": "../../../../../../usr/include/c++/12/bits/unique_ptr.h", + "line": 269, "translation_unit": "../../tests/t00033/t00033.cc" }, "template_parameters": [ @@ -375,8 +375,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00033_class", diff --git a/docs/test_cases/t00033_class.svg b/docs/test_cases/t00033_class.svg index cabefd63..f526eea5 100644 --- a/docs/test_cases/t00033_class.svg +++ b/docs/test_cases/t00033_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,15 +19,15 @@ - + - + aaa : T - - + + B @@ -36,15 +36,15 @@ - + - + bbb : T - - + + C @@ -53,30 +53,30 @@ - + - + ccc : T - - + + D - + - + ddd : int - - + + C @@ -85,8 +85,8 @@ - - + + B @@ -95,8 +95,8 @@ - - + + A @@ -105,19 +105,19 @@ - - + + R - + - + abc : A<B<std::unique_ptr<C<D>>>> diff --git a/docs/test_cases/t00034.md b/docs/test_cases/t00034.md index 43285a5c..99bf4150 100644 --- a/docs/test_cases/t00034.md +++ b/docs/test_cases/t00034.md @@ -111,9 +111,15 @@ struct R { "parameters": [ { "name": "", - "type": "const Void &" + "type": "const clanguml::t00034::Void &" } ], + "source_location": { + "column": 20, + "file": "../../tests/t00034/t00034.cc", + "line": 10, + "translation_unit": "../../tests/t00034/t00034.cc" + }, "type": "bool" }, { @@ -135,9 +141,15 @@ struct R { "parameters": [ { "name": "", - "type": "const Void &" + "type": "const clanguml::t00034::Void &" } ], + "source_location": { + "column": 20, + "file": "../../tests/t00034/t00034.cc", + "line": 11, + "translation_unit": "../../tests/t00034/t00034.cc" + }, "type": "bool" } ], @@ -310,7 +322,7 @@ struct R { "line": 46, "translation_unit": "../../tests/t00034/t00034.cc" }, - "type": "lift_void_t *" + "type": "lift_void_t *" }, { "access": "public", @@ -339,8 +351,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00034_class", diff --git a/docs/test_cases/t00034_class.svg b/docs/test_cases/t00034_class.svg index ba56cf60..7cae426f 100644 --- a/docs/test_cases/t00034_class.svg +++ b/docs/test_cases/t00034_class.svg @@ -1,6 +1,6 @@ - + @@ -9,20 +9,30 @@ - - + + Void - - operator!=(const Void &) constexpr const : bool - - operator==(const Void &) constexpr const : bool - - - + + + + + + operator!=(const Void &) constexpr const : bool + + + + + + + operator==(const Void &) constexpr const : bool + + + + lift_void @@ -31,8 +41,8 @@ - - + + lift_void @@ -41,8 +51,8 @@ - - + + drop_void @@ -51,8 +61,8 @@ - - + + drop_void @@ -61,34 +71,34 @@ - - + + A - - + + R - + - + la : lift_void_t<A> * - + - + lv : lift_void_t<void> * diff --git a/docs/test_cases/t00035.md b/docs/test_cases/t00035.md index d39ebeaf..0bb48237 100644 --- a/docs/test_cases/t00035.md +++ b/docs/test_cases/t00035.md @@ -160,8 +160,8 @@ struct Right { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00035_class", diff --git a/docs/test_cases/t00035_class.svg b/docs/test_cases/t00035_class.svg index 9a15df42..397bef84 100644 --- a/docs/test_cases/t00035_class.svg +++ b/docs/test_cases/t00035_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + Top - - + + Left - - + + Center - - + + Bottom - - + + Right diff --git a/docs/test_cases/t00036.md b/docs/test_cases/t00036.md index 87317a20..d0db99bf 100644 --- a/docs/test_cases/t00036.md +++ b/docs/test_cases/t00036.md @@ -276,8 +276,8 @@ struct DImpl : public ns2::ns22::D { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00036_class", diff --git a/docs/test_cases/t00036_class.svg b/docs/test_cases/t00036_class.svg index 39aafbda..73c57994 100644 --- a/docs/test_cases/t00036_class.svg +++ b/docs/test_cases/t00036_class.svg @@ -1,6 +1,6 @@ - + @@ -9,23 +9,23 @@ - + ns1 - + ns11 - + ns111 - + ns2 - + ns22 - - + + E @@ -34,8 +34,8 @@ yellow - - + + A @@ -44,15 +44,15 @@ - + - + a : T - - + + A @@ -61,23 +61,23 @@ - - + + B - + - + a_int : A<int> - - + + C diff --git a/docs/test_cases/t00037.md b/docs/test_cases/t00037.md index 078fb52d..172f49e4 100644 --- a/docs/test_cases/t00037.md +++ b/docs/test_cases/t00037.md @@ -245,7 +245,7 @@ struct A { "line": 29, "translation_unit": "../../tests/t00037/t00037.cc" }, - "type": "ST" + "type": "clanguml::t00037::ST" } ], "methods": [ @@ -266,6 +266,12 @@ struct A { "is_virtual": false, "name": "A", "parameters": [], + "source_location": { + "column": 5, + "file": "../../tests/t00037/t00037.cc", + "line": 21, + "translation_unit": "../../tests/t00037/t00037.cc" + }, "type": "void" } ], @@ -282,8 +288,8 @@ struct A { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00037_class", diff --git a/docs/test_cases/t00037_class.svg b/docs/test_cases/t00037_class.svg index a52dfa83..ad3f7e37 100644 --- a/docs/test_cases/t00037_class.svg +++ b/docs/test_cases/t00037_class.svg @@ -1,6 +1,6 @@ - + @@ -9,101 +9,106 @@ - - + + ST - + - + dimensions : ST::(anonymous_662) - + - + units : ST::(anonymous_792) - - + + ST::(dimensions) - + - + t : double - + - + x : double - + - + y : double - + - + z : double - - + + ST::(units) - + - + c : double - + - + h : double - - + + A - - A() : void - - + + + + + + A() : void + + + - + st : ST diff --git a/docs/test_cases/t00038.md b/docs/test_cases/t00038.md index a355832e..ebbae436 100644 --- a/docs/test_cases/t00038.md +++ b/docs/test_cases/t00038.md @@ -494,8 +494,8 @@ struct map - + @@ -9,8 +9,8 @@ - - + + thirdparty::ns1::color_t @@ -20,16 +20,16 @@ blue - - + + thirdparty::ns1::E - - + + property_t @@ -39,47 +39,47 @@ property_c - - + + A - - + + B - - + + C - - + + key_t - + - + key : std::string - - + + map @@ -88,8 +88,8 @@ - - + + map @@ -98,8 +98,8 @@ - - + + map @@ -108,8 +108,8 @@ - - + + map @@ -118,8 +118,8 @@ - - + + map diff --git a/docs/test_cases/t00039.md b/docs/test_cases/t00039.md index 83ed7e10..553c3bfe 100644 --- a/docs/test_cases/t00039.md +++ b/docs/test_cases/t00039.md @@ -349,7 +349,7 @@ template struct FFF : public FF { "line": 27, "translation_unit": "../../tests/t00039/t00039.cc" }, - "type": "B *" + "type": "clanguml::t00039::B *" } ], "methods": [], @@ -608,8 +608,8 @@ template struct FFF : public FF { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00039_class", diff --git a/docs/test_cases/t00039_class.svg b/docs/test_cases/t00039_class.svg index 713dd4f7..de9e5ab7 100644 --- a/docs/test_cases/t00039_class.svg +++ b/docs/test_cases/t00039_class.svg @@ -1,6 +1,6 @@ - + @@ -9,95 +9,95 @@ - - + + C - - + + D - - + + E - - + + CD - - + + DE - - + + CDE - - + + A - - + + AA - - + + AAA - + - + b : B * - - + + ns2::AAAA - - + + ns3::F @@ -106,15 +106,15 @@ - + - + t : T * - - + + ns3::FF @@ -123,15 +123,15 @@ - + - + m : M * - - + + ns3::FE @@ -140,15 +140,15 @@ - + - + m : M * - - + + ns3::FFF @@ -157,11 +157,11 @@ - + - + n : N * diff --git a/docs/test_cases/t00040.md b/docs/test_cases/t00040.md index 7910ed60..8485af35 100644 --- a/docs/test_cases/t00040.md +++ b/docs/test_cases/t00040.md @@ -123,6 +123,12 @@ struct R { "is_virtual": false, "name": "get_a", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00040/t00040.cc", + "line": 7, + "translation_unit": "../../tests/t00040/t00040.cc" + }, "type": "int" } ], @@ -193,7 +199,7 @@ struct R { "line": 25, "translation_unit": "../../tests/t00040/t00040.cc" }, - "type": "B *" + "type": "clanguml::t00040::B *" }, { "access": "private", @@ -226,6 +232,12 @@ struct R { "is_virtual": false, "name": "get_aaa", "parameters": [], + "source_location": { + "column": 9, + "file": "../../tests/t00040/t00040.cc", + "line": 24, + "translation_unit": "../../tests/t00040/t00040.cc" + }, "type": "int" } ], @@ -270,9 +282,15 @@ struct R { "parameters": [ { "name": "a", - "type": "A *" + "type": "clanguml::t00040::A *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00040/t00040.cc", + "line": 32, + "translation_unit": "../../tests/t00040/t00040.cc" + }, "type": "void" } ], @@ -289,8 +307,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00040_class", diff --git a/docs/test_cases/t00040_class.svg b/docs/test_cases/t00040_class.svg index 8b462c72..2c0ed095 100644 --- a/docs/test_cases/t00040_class.svg +++ b/docs/test_cases/t00040_class.svg @@ -1,6 +1,6 @@ - + @@ -9,58 +9,73 @@ - - + + A - - get_a() : int - - + + + + + + get_a() : int + + + - + ii_ : int - - + + AA - - + + AAA - - get_aaa() : int - - + + + + + + get_aaa() : int + + + - + b : B * - - + + R - - foo(A * a) : void - + + + + + + foo(A * a) : void + + diff --git a/docs/test_cases/t00041.md b/docs/test_cases/t00041.md index b96d9d36..5eced721 100644 --- a/docs/test_cases/t00041.md +++ b/docs/test_cases/t00041.md @@ -123,7 +123,7 @@ struct NM : public N { }; "line": 14, "translation_unit": "../../tests/t00041/t00041.cc" }, - "type": "RR *" + "type": "clanguml::t00041::RR *" } ], "methods": [], @@ -209,7 +209,7 @@ struct NM : public N { }; "line": 28, "translation_unit": "../../tests/t00041/t00041.cc" }, - "type": "E *" + "type": "clanguml::t00041::E *" }, { "access": "public", @@ -221,7 +221,7 @@ struct NM : public N { }; "line": 29, "translation_unit": "../../tests/t00041/t00041.cc" }, - "type": "F *" + "type": "clanguml::t00041::F *" }, { "access": "public", @@ -256,9 +256,15 @@ struct NM : public N { }; "parameters": [ { "name": "h", - "type": "H *" + "type": "clanguml::t00041::H *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00041/t00041.cc", + "line": 32, + "translation_unit": "../../tests/t00041/t00041.cc" + }, "type": "void" } ], @@ -384,8 +390,8 @@ struct NM : public N { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00041_class", diff --git a/docs/test_cases/t00041_class.svg b/docs/test_cases/t00041_class.svg index 985bfb22..3b8d0ea9 100644 --- a/docs/test_cases/t00041_class.svg +++ b/docs/test_cases/t00041_class.svg @@ -1,6 +1,6 @@ - + @@ -9,102 +9,107 @@ - - + + R - - + + D - + - + rr : RR * - - + + E - - + + F - - + + RR - - foo(H * h) : void - - + + + + + + foo(H * h) : void + + + - + e : E * - + - + f : F * - + - + g : detail::G * - - + + RRR - - + + ns1::N - - + + ns1::NN - - + + ns1::NM diff --git a/docs/test_cases/t00042.md b/docs/test_cases/t00042.md index 26f7cd41..9dd75bc7 100644 --- a/docs/test_cases/t00042.md +++ b/docs/test_cases/t00042.md @@ -305,8 +305,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00042_class", diff --git a/docs/test_cases/t00042_class.svg b/docs/test_cases/t00042_class.svg index 21e70ddb..c6b5365d 100644 --- a/docs/test_cases/t00042_class.svg +++ b/docs/test_cases/t00042_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,15 +19,15 @@ - + - + a : T - - + + A @@ -36,15 +36,15 @@ - + - + a : void * - - + + B @@ -53,22 +53,22 @@ - + - + b : T - + - + bb : K - - + + A @@ -77,8 +77,8 @@ - - + + A @@ -87,8 +87,8 @@ - - + + B diff --git a/docs/test_cases/t00043.md b/docs/test_cases/t00043.md index 5a95f18d..d7c5bf90 100644 --- a/docs/test_cases/t00043.md +++ b/docs/test_cases/t00043.md @@ -140,9 +140,15 @@ struct J { "parameters": [ { "name": "a", - "type": "A *" + "type": "clanguml::t00043::dependants::A *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 7, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -187,9 +193,15 @@ struct J { "parameters": [ { "name": "a", - "type": "A *" + "type": "clanguml::t00043::dependants::A *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 11, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -234,9 +246,15 @@ struct J { "parameters": [ { "name": "b", - "type": "B *" + "type": "clanguml::t00043::dependants::B *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 15, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -281,9 +299,15 @@ struct J { "parameters": [ { "name": "c", - "type": "C *" + "type": "clanguml::t00043::dependants::C *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 19, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" }, { @@ -305,9 +329,15 @@ struct J { "parameters": [ { "name": "bb", - "type": "BB *" + "type": "clanguml::t00043::dependants::BB *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 20, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -352,9 +382,15 @@ struct J { "parameters": [ { "name": "d", - "type": "D *" + "type": "clanguml::t00043::dependants::D *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 24, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -450,9 +486,15 @@ struct J { "parameters": [ { "name": "g", - "type": "G *" + "type": "clanguml::t00043::dependencies::G *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 37, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" }, { @@ -474,9 +516,15 @@ struct J { "parameters": [ { "name": "gg", - "type": "GG *" + "type": "clanguml::t00043::dependencies::GG *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 38, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -521,9 +569,15 @@ struct J { "parameters": [ { "name": "h", - "type": "H *" + "type": "clanguml::t00043::dependencies::H *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 46, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -568,9 +622,15 @@ struct J { "parameters": [ { "name": "i", - "type": "I *" + "type": "clanguml::t00043::dependencies::I *" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00043/t00043.cc", + "line": 50, + "translation_unit": "../../tests/t00043/t00043.cc" + }, "type": "void" } ], @@ -591,8 +651,8 @@ struct J { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00043_class", diff --git a/docs/test_cases/t00043_class.svg b/docs/test_cases/t00043_class.svg index b032319b..c29c09fa 100644 --- a/docs/test_cases/t00043_class.svg +++ b/docs/test_cases/t00043_class.svg @@ -1,6 +1,6 @@ - + - + @@ -9,139 +9,189 @@ - + dependants - - - dependencies - - - - - A - - + + + dependencies + + + + + A + + - - - - - B - - - b(A * a) : void - + + + + + B + - - - - - BB - - - bb(A * a) : void - + + + - - - - - C - - - c(B * b) : void - + + b(dependants::A * a) : void - - - - - D - - - d(C * c) : void - - dd(BB * bb) : void - + + + + + + BB + - - - - - E - - - e(D * d) : void - + + + - - - - - G - - + + bb(dependants::A * a) : void - - - - - GG - - + + + + + + C + - - - - - H - - - h(G * g) : void - - hh(GG * gg) : void - + + + - - - - - I - - - i(H * h) : void - + + c(dependants::B * b) : void - - - - - J - - - i(I * i) : void - + + + + + + D + - - - - - - - - - - - - - - - - - - - - + + + + + + d(dependants::C * c) : void + + + + + + + dd(dependants::BB * bb) : void + + + + + + + E + + + + + + + + e(dependants::D * d) : void + + + + + + + G + + + + + + + + GG + + + + + + + + H + + + + + + + + h(dependencies::G * g) : void + + + + + + + hh(dependencies::GG * gg) : void + + + + + + + I + + + + + + + + i(dependencies::H * h) : void + + + + + + + J + + + + + + + + i(dependencies::I * i) : void + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/test_cases/t00044.md b/docs/test_cases/t00044.md index afc3219e..c03c103e 100644 --- a/docs/test_cases/t00044.md +++ b/docs/test_cases/t00044.md @@ -157,6 +157,12 @@ struct R { "type": "signal_t &" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00044/t00044.cc", + "line": 13, + "translation_unit": "../../tests/t00044/t00044.cc" + }, "type": "void" }, { @@ -424,8 +430,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00044_class", diff --git a/docs/test_cases/t00044_class.svg b/docs/test_cases/t00044_class.svg index 91c45ec6..f7770740 100644 --- a/docs/test_cases/t00044_class.svg +++ b/docs/test_cases/t00044_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + signal_handler @@ -19,30 +19,35 @@ - - + + sink signal_handler<Ret(Args...),A> - - sink(signal_t & sh) : void - - - get_signal<CastTo>() : CastTo * - - + + + + + + sink(signal_t & sh) : void + + + + get_signal<CastTo>() : CastTo * + + - + signal : signal_t * - - + + signal_handler @@ -51,8 +56,8 @@ - - + + sink @@ -61,23 +66,23 @@ - - + + R - + - + sink1 : sink<signal_handler<void (int),bool>> - - + + signal_handler @@ -86,8 +91,8 @@ - - + + sink diff --git a/docs/test_cases/t00045.md b/docs/test_cases/t00045.md index 1f02bb30..ace7fcc2 100644 --- a/docs/test_cases/t00045.md +++ b/docs/test_cases/t00045.md @@ -377,7 +377,7 @@ public: "line": 31, "translation_unit": "../../tests/t00045/t00045.cc" }, - "type": "A *" + "type": "ns1::ns2::A *" }, { "access": "public", @@ -439,6 +439,12 @@ public: "type": "::AA &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00045/t00045.cc", + "line": 40, + "translation_unit": "../../tests/t00045/t00045.cc" + }, "type": "void" } ], @@ -455,8 +461,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00045_class", diff --git a/docs/test_cases/t00045_class.svg b/docs/test_cases/t00045_class.svg index 4da3bb1b..3100fcb1 100644 --- a/docs/test_cases/t00045_class.svg +++ b/docs/test_cases/t00045_class.svg @@ -1,6 +1,6 @@ - + @@ -9,32 +9,32 @@ - - + + A - - + + AA - - + + AAA - - + + AAAA @@ -43,105 +43,110 @@ - + - + t : T - - + + ns1::A - - + + ns1::ns2::A - - + + ns1::ns2::B - - + + ns1::ns2::C - - + + ns1::ns2::D - - + + ns1::ns2::E - - + + ns1::ns2::AAA - - + + ns1::ns2::R - - foo(AA & aa) : void - - + + + + + + foo(AA & aa) : void + + + - - a : A * + + a : ns1::ns2::A * - + - + ns1_a : ns1::A * - + - + ns1_ns2_a : ns1::ns2::A * - + - + root_a : ::A * diff --git a/docs/test_cases/t00046.md b/docs/test_cases/t00046.md index 0b3d7f03..d5e12866 100644 --- a/docs/test_cases/t00046.md +++ b/docs/test_cases/t00046.md @@ -290,7 +290,7 @@ public: "line": 26, "translation_unit": "../../tests/t00046/t00046.cc" }, - "type": "A *" + "type": "ns1::ns2::A *" }, { "access": "public", @@ -364,6 +364,12 @@ public: "type": "::AA &" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00046/t00046.cc", + "line": 32, + "translation_unit": "../../tests/t00046/t00046.cc" + }, "type": "void" } ], @@ -388,8 +394,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00046_class", diff --git a/docs/test_cases/t00046_class.svg b/docs/test_cases/t00046_class.svg index f92d06cc..9c10dfd9 100644 --- a/docs/test_cases/t00046_class.svg +++ b/docs/test_cases/t00046_class.svg @@ -1,6 +1,6 @@ - + @@ -9,115 +9,120 @@ - + ns1 - + ns2 - - + + A - - + + A - - + + B - - + + C - - + + D - - + + E - - + + R - - foo(AA & aa) : void - - + + + + + + foo(AA & aa) : void + + + - - a : A * + + a : ns1::ns2::A * - + - + i : std::vector<std::uint8_t> - + - + ns1_a : ns1::A * - + - + ns1_ns2_a : ns1::ns2::A * - + - + root_a : ::A * - - + + A - - + + AA diff --git a/docs/test_cases/t00047.md b/docs/test_cases/t00047.md index 7be7aa24..1dab8cb6 100644 --- a/docs/test_cases/t00047.md +++ b/docs/test_cases/t00047.md @@ -192,8 +192,8 @@ using conditional = typename conditional_t::type; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00047_class", diff --git a/docs/test_cases/t00047_class.svg b/docs/test_cases/t00047_class.svg index 66a0da7d..b6f18125 100644 --- a/docs/test_cases/t00047_class.svg +++ b/docs/test_cases/t00047_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + conditional_t @@ -19,8 +19,8 @@ - - + + conditional_t @@ -29,8 +29,8 @@ - - + + conditional_t @@ -39,8 +39,8 @@ - - + + conditional_t diff --git a/docs/test_cases/t00048.md b/docs/test_cases/t00048.md index 705515e4..64cee78b 100644 --- a/docs/test_cases/t00048.md +++ b/docs/test_cases/t00048.md @@ -168,6 +168,12 @@ template struct BaseTemplate { "is_virtual": true, "name": "foo", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00048/t00048.h", + "line": 9, + "translation_unit": "../../tests/t00048/b_t00048.cc" + }, "type": "void" } ], @@ -223,6 +229,12 @@ template struct BaseTemplate { "is_virtual": true, "name": "foo", "parameters": [], + "source_location": { + "column": 18, + "file": "../../tests/t00048/t00048.h", + "line": 15, + "translation_unit": "../../tests/t00048/b_t00048.cc" + }, "type": "void" } ], @@ -292,6 +304,12 @@ template struct BaseTemplate { "is_virtual": true, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00048/b_t00048.h", + "line": 11, + "translation_unit": "../../tests/t00048/b_t00048.cc" + }, "type": "void" } ], @@ -354,6 +372,12 @@ template struct BaseTemplate { "is_virtual": false, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00048/b_t00048.h", + "line": 17, + "translation_unit": "../../tests/t00048/b_t00048.cc" + }, "type": "void" } ], @@ -423,6 +447,12 @@ template struct BaseTemplate { "is_virtual": true, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00048/a_t00048.h", + "line": 11, + "translation_unit": "../../tests/t00048/a_t00048.cc" + }, "type": "void" } ], @@ -485,6 +515,12 @@ template struct BaseTemplate { "is_virtual": false, "name": "foo", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00048/a_t00048.h", + "line": 17, + "translation_unit": "../../tests/t00048/a_t00048.cc" + }, "type": "void" } ], @@ -508,8 +544,8 @@ template struct BaseTemplate { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00048_class", diff --git a/docs/test_cases/t00048_class.svg b/docs/test_cases/t00048_class.svg index 906ca657..00024e56 100644 --- a/docs/test_cases/t00048_class.svg +++ b/docs/test_cases/t00048_class.svg @@ -1,6 +1,6 @@ - + @@ -9,112 +9,142 @@ - - + + Base - - foo() = 0 : void - - + + + + + + foo() = 0 : void + + + - + base : int - - + + BaseTemplate T - - foo() = 0 : void - - + + + + + + foo() = 0 : void + + + - + base : T - - + + B - - foo() : void - - + + + + + + foo() : void + + + - + b : int - - + + BTemplate T - - foo() : void - - + + + + + + foo() : void + + + - + b : T - - + + A - - foo() : void - - + + + + + + foo() : void + + + - + a : int - - + + ATemplate T - - foo() : void - - + + + + + + foo() : void + + + - + a : T diff --git a/docs/test_cases/t00049.md b/docs/test_cases/t00049.md index 6b4aff79..c858e7c0 100644 --- a/docs/test_cases/t00049.md +++ b/docs/test_cases/t00049.md @@ -94,6 +94,12 @@ struct R { "is_virtual": false, "name": "get_a", "parameters": [], + "source_location": { + "column": 8, + "file": "../../tests/t00049/t00049.cc", + "line": 10, + "translation_unit": "../../tests/t00049/t00049.cc" + }, "type": "T &" } ], @@ -267,6 +273,12 @@ struct R { "is_virtual": false, "name": "get_int_map", "parameters": [], + "source_location": { + "column": 27, + "file": "../../tests/t00049/t00049.cc", + "line": 18, + "translation_unit": "../../tests/t00049/t00049.cc" + }, "type": "clanguml::t00049::A>" }, { @@ -291,6 +303,12 @@ struct R { "type": "clanguml::t00049::A> &&" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00049/t00049.cc", + "line": 20, + "translation_unit": "../../tests/t00049/t00049.cc" + }, "type": "void" } ], @@ -307,8 +325,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00049_class", diff --git a/docs/test_cases/t00049_class.svg b/docs/test_cases/t00049_class.svg index a295c0fd..393172ea 100644 --- a/docs/test_cases/t00049_class.svg +++ b/docs/test_cases/t00049_class.svg @@ -1,6 +1,6 @@ - + @@ -9,27 +9,32 @@ - - + + A T - - get_a() : T & - - + + + + + + get_a() : T & + + + - + a : T - - + + A @@ -38,8 +43,8 @@ - - + + A @@ -48,8 +53,8 @@ - - + + A @@ -58,37 +63,47 @@ - - + + R - - get_int_map() : A<intmap> - - set_int_map(A<intmap> && int_map) : void - - + + + + + + get_int_map() : A<intmap> + + + + + + + set_int_map(A<intmap> && int_map) : void + + + - + a_int_map : A<intmap> - + - + a_string : A<thestring> - + - + a_vector_string : A<string_vector> diff --git a/docs/test_cases/t00050.md b/docs/test_cases/t00050.md index c3385aa9..78a53e4c 100644 --- a/docs/test_cases/t00050.md +++ b/docs/test_cases/t00050.md @@ -504,8 +504,8 @@ class NoComment { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00050_class", diff --git a/docs/test_cases/t00050_class.svg b/docs/test_cases/t00050_class.svg index 6c17ea3f..1882511a 100644 --- a/docs/test_cases/t00050_class.svg +++ b/docs/test_cases/t00050_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + A - - + + B - - + + C - - + + utils::D - - + + E @@ -52,8 +52,8 @@ E3 - - + + F @@ -62,43 +62,43 @@ - + - + t : T[N] - + - + v : V - - + + G - - + + NoComment - + Lorem ipsum dolor sit - + Lorem ipsum dolor sit - + Lorem ipsum dolor sit amet consectetur adipiscing elit, urna consequat felis vehicula class ultricies mollis dictumst, aenean non a in donec nulla. @@ -125,50 +125,50 @@ imperdiet praesent magnis ridiculus congue gravida curabitur dictum sagittis, enim et magna sit inceptos sodales parturient pharetra mollis, aenean vel nostra tellus commodo pretium sapien sociosqu. - + This is a short description of class G. - + This is an intermediate description of class G. - + This is a long description of class G. - + Lorem ipsum - + TODO 1. Write meaningful comment - + TODO 2. Write tests - + TODO 3. Implement - + Long comment example - + TODO Implement... - + Simple array wrapper. - + Template parameters diff --git a/docs/test_cases/t00051.md b/docs/test_cases/t00051.md index a71a76aa..8eadc731 100644 --- a/docs/test_cases/t00051.md +++ b/docs/test_cases/t00051.md @@ -158,6 +158,12 @@ A::custom_thread2 A::start_thread2() "type": "FF &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00051/t00051.cc", + "line": 7, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" }, { @@ -177,6 +183,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "f", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 13, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" }, { @@ -196,6 +208,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "ff", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 14, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" } ], @@ -293,6 +311,12 @@ A::custom_thread2 A::start_thread2() "type": "(lambda at ../../tests/t00051/t00051.cc:43:27) &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00051/t00051.cc", + "line": 7, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" }, { @@ -312,6 +336,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "f", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 13, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" }, { @@ -331,6 +361,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "ff", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 14, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" } ], @@ -386,7 +422,13 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "start_thread1", "parameters": [], - "type": "custom_thread1" + "source_location": { + "column": 27, + "file": "../../tests/t00051/t00051.cc", + "line": 33, + "translation_unit": "../../tests/t00051/t00051.cc" + }, + "type": "clanguml::t00051::A::custom_thread1" }, { "access": "private", @@ -405,7 +447,13 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "start_thread2", "parameters": [], - "type": "custom_thread2" + "source_location": { + "column": 27, + "file": "../../tests/t00051/t00051.cc", + "line": 39, + "translation_unit": "../../tests/t00051/t00051.cc" + }, + "type": "clanguml::t00051::A::custom_thread2" }, { "access": "private", @@ -424,6 +472,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "start_thread3", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 41, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "clanguml::t00051::B<(lambda at ../../tests/t00051/t00051.cc:43:18),(lambda at ../../tests/t00051/t00051.cc:43:27)>" }, { @@ -443,6 +497,12 @@ A::custom_thread2 A::start_thread2() "is_virtual": false, "name": "get_function", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00051/t00051.cc", + "line": 46, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "(lambda at ../../tests/t00051/t00051.cc:48:16)" } ], @@ -555,6 +615,12 @@ A::custom_thread2 A::start_thread2() "type": "(lambda at ../../tests/t00051/t00051.cc:59:27) &&" } ], + "source_location": { + "column": 28, + "file": "../../tests/t00051/t00051.cc", + "line": 36, + "translation_unit": "../../tests/t00051/t00051.cc" + }, "type": "void" } ], @@ -571,8 +637,8 @@ A::custom_thread2 A::start_thread2() } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00051_class", diff --git a/docs/test_cases/t00051_class.svg b/docs/test_cases/t00051_class.svg index 8bdd63ec..ff6e8ed7 100644 --- a/docs/test_cases/t00051_class.svg +++ b/docs/test_cases/t00051_class.svg @@ -1,6 +1,6 @@ - + @@ -9,84 +9,134 @@ - - + + B F,FF=F - - B(F && f, FF && ff) : void - - - f() : void - - ff() : void - - + + + + + + B(F && f, FF && ff) : void + + + + + + + + f() : void + + + + + + + ff() : void + + + - + f_ : F - + - + ff_ : FF - - + + B<(lambda at ../../tests/t00051/t00051.cc:43:18),(lambda at ../../tests/t00051/t00051.cc:43:27)> - - B((lambda at ../../tests/t00051/t00051.cc:43:18) && f, (lambda at ../../tests/t00051/t00051.cc:43:27) && ff) : void - - - f() : void - - ff() : void - - + + + + + + B((lambda at ../../tests/t00051/t00051.cc:43:18) && f, (lambda at ../../tests/t00051/t00051.cc:43:27) && ff) : void + + + + + + + + f() : void + + + + + + + ff() : void + + + - + f_ : (lambda at ../../tests/t00051/t00051.cc:43:18) - + - + ff_ : (lambda at ../../tests/t00051/t00051.cc:43:27) - - + + A - - get_function() : (lambda at ../../tests/t00051/t00051.cc:48:16) - - start_thread1() : custom_thread1 - - start_thread2() : custom_thread2 - - start_thread3() : B<(lambda at ../../tests/t00051/t00051.cc:43:18),(lambda at ../../tests/t00051/t00051.cc:43:27)> - - - + + + + + + get_function() : (lambda at ../../tests/t00051/t00051.cc:48:16) + + + + + + + start_thread1() : A::custom_thread1 + + + + + + + start_thread2() : A::custom_thread2 + + + + + + + start_thread3() : B<(lambda at ../../tests/t00051/t00051.cc:43:18),(lambda at ../../tests/t00051/t00051.cc:43:27)> + + + + A::custom_thread1 @@ -95,16 +145,21 @@ custom_thread1<Function,Args...>(Function && f, Args &&... args) : void - - + + A::custom_thread2 - - thread((lambda at ../../tests/t00051/t00051.cc:59:27) &&) : void - + + + + + + thread((lambda at ../../tests/t00051/t00051.cc:59:27) &&) : void + + diff --git a/docs/test_cases/t00052.md b/docs/test_cases/t00052.md index eb39b346..09ce1acf 100644 --- a/docs/test_cases/t00052.md +++ b/docs/test_cases/t00052.md @@ -168,6 +168,12 @@ struct R { "type": "T" } ], + "source_location": { + "column": 7, + "file": "../../tests/t00052/t00052.cc", + "line": 15, + "translation_unit": "../../tests/t00052/t00052.cc" + }, "type": "T" }, { @@ -349,7 +355,7 @@ struct R { "line": 30, "translation_unit": "../../tests/t00052/t00052.cc" }, - "type": "A" + "type": "clanguml::t00052::A" }, { "access": "public", @@ -390,8 +396,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00052_class", diff --git a/docs/test_cases/t00052_class.svg b/docs/test_cases/t00052_class.svg index 4f721ea3..262f0fe8 100644 --- a/docs/test_cases/t00052_class.svg +++ b/docs/test_cases/t00052_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -21,22 +21,27 @@ aa<F,Q>(F && f, Q q) : void - - + + B T - - b(T t) : T - - bb<F>(F && f, T t) : T - - - + + + + + + b(T t) : T + + + bb<F>(F && f, T t) : T + + + C @@ -47,8 +52,8 @@ c<P>(P p) : T - - + + B @@ -57,8 +62,8 @@ - - + + C @@ -67,33 +72,33 @@ - - + + R - + - + a : A - + - + b : B<int> - + - + c : C<int> diff --git a/docs/test_cases/t00053.md b/docs/test_cases/t00053.md index 82a9fcd6..b306e2a1 100644 --- a/docs/test_cases/t00053.md +++ b/docs/test_cases/t00053.md @@ -418,8 +418,8 @@ enum class j { jjj }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00053_class", diff --git a/docs/test_cases/t00053_class.svg b/docs/test_cases/t00053_class.svg index 66db15a0..aa34c80e 100644 --- a/docs/test_cases/t00053_class.svg +++ b/docs/test_cases/t00053_class.svg @@ -1,6 +1,6 @@ - + @@ -9,72 +9,72 @@ - - + + A - - + + C - - + + E - - + + F - - + + a - - + + c - - + + e - - + + f - - + + h @@ -82,8 +82,8 @@ hhh - - + + j @@ -91,56 +91,56 @@ jjj - - + + b - - + + d - - + + g - - + + B - - + + D - - + + G - - + + i diff --git a/docs/test_cases/t00054.md b/docs/test_cases/t00054.md index f2176f6e..bdbd4194 100644 --- a/docs/test_cases/t00054.md +++ b/docs/test_cases/t00054.md @@ -460,8 +460,8 @@ enum class j { jjj }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00054_class", diff --git a/docs/test_cases/t00054_class.svg b/docs/test_cases/t00054_class.svg index c107d967..1945748a 100644 --- a/docs/test_cases/t00054_class.svg +++ b/docs/test_cases/t00054_class.svg @@ -1,6 +1,6 @@ - + @@ -9,28 +9,28 @@ - + detail - + detail2 - + detail3 - + detail4 - - + + d - - + + a @@ -40,8 +40,8 @@ - - + + c @@ -51,8 +51,8 @@ - - + + e @@ -62,40 +62,40 @@ - - + + C - - + + F - - + + D - - + + E - - + + A @@ -104,8 +104,8 @@ - - + + B @@ -114,8 +114,8 @@ - - + + f @@ -124,8 +124,8 @@ - - + + G @@ -133,8 +133,8 @@ - - + + h @@ -143,8 +143,8 @@ hhh - - + + i @@ -153,8 +153,8 @@ iii - - + + j @@ -163,16 +163,16 @@ jjj - - + + b - - + + g diff --git a/docs/test_cases/t00055.md b/docs/test_cases/t00055.md index b65bd0e1..1d5bc4d7 100644 --- a/docs/test_cases/t00055.md +++ b/docs/test_cases/t00055.md @@ -266,8 +266,8 @@ struct J { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00055_class", diff --git a/docs/test_cases/t00055_class.svg b/docs/test_cases/t00055_class.svg index 126005e3..554fba4c 100644 --- a/docs/test_cases/t00055_class.svg +++ b/docs/test_cases/t00055_class.svg @@ -1,6 +1,6 @@ - + @@ -9,80 +9,80 @@ - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F - - + + G - - + + H - - + + I - - + + J diff --git a/docs/test_cases/t00056.md b/docs/test_cases/t00056.md index 441d911f..1f311c30 100644 --- a/docs/test_cases/t00056.md +++ b/docs/test_cases/t00056.md @@ -605,8 +605,8 @@ struct F { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00056_class", diff --git a/docs/test_cases/t00056_class.svg b/docs/test_cases/t00056_class.svg index ee0b675b..9dee3a52 100644 --- a/docs/test_cases/t00056_class.svg +++ b/docs/test_cases/t00056_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + «concept» @@ -20,8 +20,8 @@ - - + + «concept» @@ -33,8 +33,8 @@ sizeof (l) > sizeof (r) - - + + «concept» @@ -44,8 +44,8 @@ - - + + «concept» @@ -58,8 +58,8 @@ container.begin() container.end() - - + + «concept» @@ -71,8 +71,8 @@ typename T::value_type - - + + «concept» @@ -86,8 +86,8 @@ {std::to_string(s)} noexcept {std::to_string(s)} -> std::same_as<std::string> - - + + «concept» @@ -97,8 +97,8 @@ - - + + «concept» @@ -108,8 +108,8 @@ - - + + A @@ -118,15 +118,15 @@ - + - + a : T - - + + B @@ -135,15 +135,15 @@ - + - + b : T - - + + C @@ -152,15 +152,15 @@ - + - + c : T - - + + D @@ -169,8 +169,8 @@ - - + + E @@ -179,29 +179,29 @@ - + - + e1 : T1 - + - + e2 : T2 - + - + e3 : T3 - - + + F @@ -210,25 +210,25 @@ - + - + f1 : T1 - + - + f2 : T2 - + - + f3 : T3 diff --git a/docs/test_cases/t00057.md b/docs/test_cases/t00057.md index 4cbdc424..3309ca7d 100644 --- a/docs/test_cases/t00057.md +++ b/docs/test_cases/t00057.md @@ -550,8 +550,8 @@ struct t00057_R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00057_class", diff --git a/docs/test_cases/t00057_class.svg b/docs/test_cases/t00057_class.svg index 4f2f740d..0bc3d893 100644 --- a/docs/test_cases/t00057_class.svg +++ b/docs/test_cases/t00057_class.svg @@ -1,6 +1,6 @@ - + @@ -9,53 +9,53 @@ - - + + t00057_A - + - + a1 : int - - + + t00057_B - + - + b1 : int - - + + t00057_C - + - + c1 : int - - + + «union» @@ -63,73 +63,73 @@ - + - + d1 : int - + - + d2 : float - - + + t00057_E - + - + coordinates : t00057_E::(anonymous_739) - + - + e : int - + - + height : t00057_E::(anonymous_807) - - + + t00057_E::(coordinates) - + - + x : int - + - + y : int - - + + «union» @@ -137,105 +137,105 @@ - + - + t : double - + - + z : int - - + + t00057_G - + - + g1 : int - - + + t00057_R - + - + a : struct t00057_A - + - + b : t00057_B - + - + c : struct t00057_C * - + - + d : union t00057_D - + - + e : struct t00057_E * - + - + f : struct t00057_F * - + - + g : struct t00057_G * - - + + t00057_F - + - + f1 : int diff --git a/docs/test_cases/t00058.md b/docs/test_cases/t00058.md index 0ad8481a..1253618a 100644 --- a/docs/test_cases/t00058.md +++ b/docs/test_cases/t00058.md @@ -433,8 +433,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00058_class", diff --git a/docs/test_cases/t00058_class.svg b/docs/test_cases/t00058_class.svg index 7260007d..cb29778d 100644 --- a/docs/test_cases/t00058_class.svg +++ b/docs/test_cases/t00058_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + first_type @@ -19,8 +19,8 @@ - - + + «concept» @@ -30,8 +30,8 @@ - - + + A @@ -40,15 +40,15 @@ - + - + a : std::vector<T> - - + + B @@ -57,22 +57,22 @@ - + - + b : std::vector<T> - + - + bb : P - - + + A @@ -81,8 +81,8 @@ - - + + A @@ -91,8 +91,8 @@ - - + + B @@ -101,26 +101,26 @@ - - + + R - + - + aa : A<int,int,double,std::string> - + - + bb : B<int,std::string,int,double,A<int,int>> diff --git a/docs/test_cases/t00059.md b/docs/test_cases/t00059.md index 16c2de36..6623e9c0 100644 --- a/docs/test_cases/t00059.md +++ b/docs/test_cases/t00059.md @@ -176,6 +176,12 @@ struct R { "is_virtual": false, "name": "get_name", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 20, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "std::string" }, { @@ -195,6 +201,12 @@ struct R { "is_virtual": false, "name": "get_sweetness", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 21, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "float" } ], @@ -237,6 +249,12 @@ struct R { "is_virtual": false, "name": "get_name", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 26, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "std::string" }, { @@ -256,6 +274,12 @@ struct R { "is_virtual": false, "name": "get_sweetness", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 27, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "float" } ], @@ -298,6 +322,12 @@ struct R { "is_virtual": false, "name": "get_name", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 32, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "std::string" }, { @@ -317,6 +347,12 @@ struct R { "is_virtual": false, "name": "get_bitterness", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 33, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "float" } ], @@ -359,6 +395,12 @@ struct R { "is_virtual": false, "name": "get_name", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 38, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "std::string" }, { @@ -378,6 +420,12 @@ struct R { "is_virtual": false, "name": "get_bitterness", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 39, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "float" } ], @@ -420,6 +468,12 @@ struct R { "is_virtual": false, "name": "create_apple", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 44, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "TA" }, { @@ -439,6 +493,12 @@ struct R { "is_virtual": false, "name": "create_orange", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00059/t00059.cc", + "line": 45, + "translation_unit": "../../tests/t00059/t00059.cc" + }, "type": "TO" } ], @@ -556,7 +616,7 @@ struct R { "line": 52, "translation_unit": "../../tests/t00059/t00059.cc" }, - "type": "fruit_factory_1" + "type": "clanguml::t00059::fruit_factory_1" }, { "access": "public", @@ -568,7 +628,7 @@ struct R { "line": 53, "translation_unit": "../../tests/t00059/t00059.cc" }, - "type": "fruit_factory_2" + "type": "clanguml::t00059::fruit_factory_2" } ], "methods": [], @@ -585,8 +645,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00059_class", diff --git a/docs/test_cases/t00059_class.svg b/docs/test_cases/t00059_class.svg index 1c3b555e..0aa9c43e 100644 --- a/docs/test_cases/t00059_class.svg +++ b/docs/test_cases/t00059_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + «concept» @@ -23,8 +23,8 @@ T{} t.get_name() - - + + «concept» @@ -36,8 +36,8 @@ t.get_sweetness() - - + + «concept» @@ -49,70 +49,120 @@ t.get_bitterness() - - + + gala_apple - - get_name() const : std::string - - get_sweetness() const : float - - - + + + + + + get_name() const : std::string + + + + + + + get_sweetness() const : float + + + + empire_apple - - get_name() const : std::string - - get_sweetness() const : float - - - + + + + + + get_name() const : std::string + + + + + + + get_sweetness() const : float + + + + lima_orange - - get_bitterness() const : float - - get_name() const : std::string - - - + + + + + + get_bitterness() const : float + + + + + + + get_name() const : std::string + + + + valencia_orange - - get_bitterness() const : float - - get_name() const : std::string - - - + + + + + + get_bitterness() const : float + + + + + + + get_name() const : std::string + + + + fruit_factory apple_c TA,orange_c TO - - create_apple() const : TA - - create_orange() const : TO - - - + + + + + + create_apple() const : TA + + + + + + + create_orange() const : TO + + + + fruit_factory @@ -121,8 +171,8 @@ - - + + fruit_factory @@ -131,26 +181,26 @@ - - + + R - + - + factory_1 : fruit_factory_1 - + - + factory_2 : fruit_factory_2 diff --git a/docs/test_cases/t00060.md b/docs/test_cases/t00060.md index eef6b9c1..e8a9a022 100644 --- a/docs/test_cases/t00060.md +++ b/docs/test_cases/t00060.md @@ -274,8 +274,8 @@ template struct H : public G { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00060_class", diff --git a/docs/test_cases/t00060_class.svg b/docs/test_cases/t00060_class.svg index b384c570..c8ec7494 100644 --- a/docs/test_cases/t00060_class.svg +++ b/docs/test_cases/t00060_class.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + A - - + + B - - + + C - - + + D - - + + G @@ -51,15 +51,15 @@ - + - + g : T - - + + H @@ -68,18 +68,18 @@ - + - + h : G<T> - + - + hh : P diff --git a/docs/test_cases/t00061.md b/docs/test_cases/t00061.md index aefd9e02..f8c6c1de 100644 --- a/docs/test_cases/t00061.md +++ b/docs/test_cases/t00061.md @@ -63,8 +63,8 @@ struct C { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00061_class", diff --git a/docs/test_cases/t00061_class.svg b/docs/test_cases/t00061_class.svg index 76343536..ad81de8d 100644 --- a/docs/test_cases/t00061_class.svg +++ b/docs/test_cases/t00061_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A diff --git a/docs/test_cases/t00062.md b/docs/test_cases/t00062.md index 7e991cb2..f3b18d49 100644 --- a/docs/test_cases/t00062.md +++ b/docs/test_cases/t00062.md @@ -1370,8 +1370,8 @@ struct A> { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00062_class", diff --git a/docs/test_cases/t00062_class.svg b/docs/test_cases/t00062_class.svg index f82b47e0..5aae3e1e 100644 --- a/docs/test_cases/t00062_class.svg +++ b/docs/test_cases/t00062_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A @@ -19,15 +19,15 @@ - + - + u : U & - - + + A @@ -36,15 +36,15 @@ - + - + u : U & - - + + A @@ -53,8 +53,8 @@ - - + + A @@ -63,15 +63,15 @@ - + - + u : U ** - - + + A @@ -80,15 +80,15 @@ - + - + u : U *** - - + + A @@ -97,15 +97,15 @@ - + - + u : U *** - - + + A @@ -114,15 +114,15 @@ - + - + u : U && - - + + A @@ -131,15 +131,15 @@ - + - + u : const U & - - + + A @@ -148,22 +148,22 @@ - + - + c : C & - + - + m : M C::* - - + + A @@ -172,22 +172,22 @@ - + - + c : C && - + - + m : M C::* - - + + A @@ -196,22 +196,22 @@ - + - + c : C & - + - + m : M C::* - - + + A @@ -220,15 +220,15 @@ - + - + c : C & - - + + A @@ -237,22 +237,22 @@ - + - + c : C && - + - + m : M C::* - - + + A @@ -261,22 +261,22 @@ - + - + c : C && - + - + mf : float C::* - - + + A @@ -285,22 +285,22 @@ - + - + c : C & - + - + m : M C::* - - + + A @@ -309,15 +309,15 @@ - + - + n : char[N] - - + + A @@ -326,15 +326,15 @@ - + - + n : std::vector<char> - - + + A @@ -343,15 +343,15 @@ - + - + klm : char[K][L][M] - - + + A @@ -360,15 +360,15 @@ - + - + u : bool - - + + A @@ -377,15 +377,15 @@ - + - + c : C<T> - - + + A @@ -394,22 +394,22 @@ - + - + args : std::tuple<Args...> - + - + c : C<T> - - + + A diff --git a/docs/test_cases/t00063.md b/docs/test_cases/t00063.md index 94058951..94c0aee3 100644 --- a/docs/test_cases/t00063.md +++ b/docs/test_cases/t00063.md @@ -61,8 +61,8 @@ enum class C { c1, c2, c3 }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00063_class", diff --git a/docs/test_cases/t00063_class.svg b/docs/test_cases/t00063_class.svg index 9f8b4c6e..c0b5bae0 100644 --- a/docs/test_cases/t00063_class.svg +++ b/docs/test_cases/t00063_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + A diff --git a/docs/test_cases/t00064.md b/docs/test_cases/t00064.md index f1690407..42afec9d 100644 --- a/docs/test_cases/t00064.md +++ b/docs/test_cases/t00064.md @@ -517,6 +517,12 @@ public: "type": "unsigned int" } ], + "source_location": { + "column": 11, + "file": "../../tests/t00064/t00064.cc", + "line": 44, + "translation_unit": "../../tests/t00064/t00064.cc" + }, "type": "ref_t" }, { @@ -541,7 +547,13 @@ public: "type": "unsigned int" } ], - "type": "const value_type *" + "source_location": { + "column": 23, + "file": "../../tests/t00064/t00064.cc", + "line": 46, + "translation_unit": "../../tests/t00064/t00064.cc" + }, + "type": "value_type const*" }, { "access": "public", @@ -562,9 +574,15 @@ public: "parameters": [ { "name": "v", - "type": "const value_type &" + "type": "value_type const&" } ], + "source_location": { + "column": 24, + "file": "../../tests/t00064/t00064.cc", + "line": 48, + "translation_unit": "../../tests/t00064/t00064.cc" + }, "type": "unsigned int" } ], @@ -882,7 +900,7 @@ public: "line": 57, "translation_unit": "../../tests/t00064/t00064.cc" }, - "type": "type_list" + "type": "type_list" }, { "access": "public", @@ -894,7 +912,7 @@ public: "line": 58, "translation_unit": "../../tests/t00064/t00064.cc" }, - "type": "type_group_pair,type_list>" + "type": "type_group_pair,type_list>" } ], "methods": [], @@ -1016,8 +1034,8 @@ public: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00064_class", diff --git a/docs/test_cases/t00064_class.svg b/docs/test_cases/t00064_class.svg index 7c81504f..c2be5534 100644 --- a/docs/test_cases/t00064_class.svg +++ b/docs/test_cases/t00064_class.svg @@ -1,6 +1,6 @@ - + @@ -9,8 +9,8 @@ - - + + type_list @@ -19,8 +19,8 @@ - - + + type_list @@ -29,8 +29,8 @@ - - + + type_list @@ -39,8 +39,8 @@ - - + + type_list @@ -49,8 +49,8 @@ - - + + head @@ -59,8 +59,8 @@ - - + + type_list @@ -69,8 +69,8 @@ - - + + type_list @@ -79,8 +79,8 @@ - - + + type_list @@ -89,8 +89,8 @@ - - + + type_group_pair @@ -99,15 +99,15 @@ - + - + size : const size_t - - + + optional_ref @@ -116,8 +116,8 @@ - - + + optional_ref @@ -126,48 +126,63 @@ - - + + type_group_pair_it It,type_list<First...>,type_list<Second...> - - find(const value_type & v) constexpr : unsigned int - - get(unsigned int i) : ref_t - - getp(unsigned int i) : const value_type * - - - + + + + + + find(value_type const& v) constexpr : unsigned int + + + + + + + get(unsigned int i) : ref_t + + + + + + + getp(unsigned int i) : value_type const* + + + + A - - + + B - - + + C - - + + type_list @@ -176,8 +191,8 @@ - - + + type_list @@ -186,8 +201,8 @@ - - + + type_list @@ -196,8 +211,8 @@ - - + + type_group_pair @@ -206,30 +221,30 @@ - - + + R - + - + abc : type_group_pair<type_list<float,double>,type_list<A,B,C>> - + - + aboolint : type_list<A,bool,int> - - + + type_group_pair @@ -238,8 +253,8 @@ - - + + type_group_pair_it @@ -248,8 +263,8 @@ - - + + head diff --git a/docs/test_cases/t00065.md b/docs/test_cases/t00065.md index f28ab60b..2e646987 100644 --- a/docs/test_cases/t00065.md +++ b/docs/test_cases/t00065.md @@ -130,7 +130,7 @@ struct R { "line": 13, "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" }, - "type": "ABC" + "type": "clanguml::t00065::ABC" }, { "access": "public", @@ -142,7 +142,7 @@ struct R { "line": 14, "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" }, - "type": "XYZ" + "type": "clanguml::t00065::XYZ" }, { "access": "public", @@ -234,6 +234,12 @@ struct R { "is_virtual": false, "name": "B", "parameters": [], + "source_location": { + "column": 5, + "file": "../../clang-uml/tests/t00065/module2/module2.h", + "line": 8, + "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" + }, "type": "void" }, { @@ -253,6 +259,12 @@ struct R { "is_virtual": false, "name": "b", "parameters": [], + "source_location": { + "column": 10, + "file": "../../clang-uml/tests/t00065/module2/module2.h", + "line": 9, + "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" + }, "type": "void" } ], @@ -474,7 +486,7 @@ struct R { "line": 7, "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" }, - "type": "A *" + "type": "clanguml::t00065::A *" }, { "access": "public", @@ -486,7 +498,7 @@ struct R { "line": 8, "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" }, - "type": "C" + "type": "C" }, { "access": "public", @@ -498,7 +510,7 @@ struct R { "line": 9, "translation_unit": "../../clang-uml/tests/t00065/t00065.cc" }, - "type": "D" + "type": "D" } ], "methods": [], @@ -515,8 +527,8 @@ struct R { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00065_class", diff --git a/docs/test_cases/t00065_class.svg b/docs/test_cases/t00065_class.svg index 4bc99706..fcfb9cb6 100644 --- a/docs/test_cases/t00065_class.svg +++ b/docs/test_cases/t00065_class.svg @@ -1,6 +1,6 @@ - + @@ -9,20 +9,20 @@ - + module1 - + submodule1a - + module2 - + concepts - - + + ABC @@ -32,8 +32,8 @@ c - - + + XYZ @@ -43,58 +43,68 @@ z - - + + A - + - + abc : ABC - + - + pimpl : detail::AImpl * - + - + xyz : XYZ - - + + AImpl - - + + B - - B() = default : void - - - b() : void - - - + + + + + + B() = default : void + + + + + + + + b() : void + + + + C @@ -103,15 +113,15 @@ - + - + t : T * - - + + C @@ -120,8 +130,8 @@ - - + + D @@ -130,22 +140,22 @@ - + - + c : C<int> - + - + t : T - - + + C @@ -154,8 +164,8 @@ - - + + D @@ -164,8 +174,8 @@ - - + + «concept» @@ -176,33 +186,33 @@ T{} t.b() - - + + R - + - + a : A * - + - + c : C<B> - + - + d : D<B> diff --git a/docs/test_cases/t00066.md b/docs/test_cases/t00066.md index e76fdccf..ac170542 100644 --- a/docs/test_cases/t00066.md +++ b/docs/test_cases/t00066.md @@ -245,6 +245,12 @@ int A::static_int = 1; "is_virtual": false, "name": "A", "parameters": [], + "source_location": { + "column": 5, + "file": "../../tests/t00066/t00066.cc", + "line": 9, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -269,6 +275,12 @@ int A::static_int = 1; "type": "int" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00066/t00066.cc", + "line": 10, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -290,9 +302,15 @@ int A::static_int = 1; "parameters": [ { "name": "", - "type": "A &&" + "type": "clanguml::t00066::A &&" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00066/t00066.cc", + "line": 14, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -314,9 +332,15 @@ int A::static_int = 1; "parameters": [ { "name": "", - "type": "const A &" + "type": "const clanguml::t00066::A &" } ], + "source_location": { + "column": 5, + "file": "../../tests/t00066/t00066.cc", + "line": 15, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -336,6 +360,12 @@ int A::static_int = 1; "is_virtual": true, "name": "~A", "parameters": [], + "source_location": { + "column": 13, + "file": "../../tests/t00066/t00066.cc", + "line": 16, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -355,6 +385,12 @@ int A::static_int = 1; "is_virtual": false, "name": "basic_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 18, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -374,6 +410,12 @@ int A::static_int = 1; "is_virtual": false, "name": "static_method", "parameters": [], + "source_location": { + "column": 16, + "file": "../../tests/t00066/t00066.cc", + "line": 19, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "int" }, { @@ -393,6 +435,12 @@ int A::static_int = 1; "is_virtual": false, "name": "const_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 20, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -412,6 +460,12 @@ int A::static_int = 1; "is_virtual": false, "name": "auto_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 21, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "int" }, { @@ -431,7 +485,13 @@ int A::static_int = 1; "is_virtual": false, "name": "operator++", "parameters": [], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00066/t00066.cc", + "line": 23, + "translation_unit": "../../tests/t00066/t00066.cc" + }, + "type": "clanguml::t00066::A &" }, { "access": "public", @@ -452,10 +512,16 @@ int A::static_int = 1; "parameters": [ { "name": "other", - "type": "A &&" + "type": "clanguml::t00066::A &&" } ], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00066/t00066.cc", + "line": 29, + "translation_unit": "../../tests/t00066/t00066.cc" + }, + "type": "clanguml::t00066::A &" }, { "access": "public", @@ -476,10 +542,16 @@ int A::static_int = 1; "parameters": [ { "name": "other", - "type": "A &" + "type": "clanguml::t00066::A &" } ], - "type": "A &" + "source_location": { + "column": 8, + "file": "../../tests/t00066/t00066.cc", + "line": 30, + "translation_unit": "../../tests/t00066/t00066.cc" + }, + "type": "clanguml::t00066::A &" }, { "access": "public", @@ -498,6 +570,12 @@ int A::static_int = 1; "is_virtual": false, "name": "size", "parameters": [], + "source_location": { + "column": 17, + "file": "../../tests/t00066/t00066.cc", + "line": 32, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "std::size_t" }, { @@ -522,6 +600,12 @@ int A::static_int = 1; "type": "const int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 34, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "int" }, { @@ -550,6 +634,12 @@ int A::static_int = 1; "type": "const double" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 35, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "int" }, { @@ -575,6 +665,12 @@ int A::static_int = 1; "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 37, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "int" }, { @@ -604,6 +700,12 @@ int A::static_int = 1; "type": "std::string" } ], + "source_location": { + "column": 17, + "file": "../../tests/t00066/t00066.cc", + "line": 38, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "std::string" }, { @@ -628,7 +730,13 @@ int A::static_int = 1; "type": "int" } ], - "type": "A" + "source_location": { + "column": 14, + "file": "../../tests/t00066/t00066.cc", + "line": 43, + "translation_unit": "../../tests/t00066/t00066.cc" + }, + "type": "clanguml::t00066::A" }, { "access": "protected", @@ -647,6 +755,12 @@ int A::static_int = 1; "is_virtual": false, "name": "protected_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 51, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" }, { @@ -666,6 +780,12 @@ int A::static_int = 1; "is_virtual": false, "name": "private_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00066/t00066.cc", + "line": 60, + "translation_unit": "../../tests/t00066/t00066.cc" + }, "type": "void" } ], @@ -682,8 +802,8 @@ int A::static_int = 1; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00066_class", diff --git a/docs/test_cases/t00066_class.svg b/docs/test_cases/t00066_class.svg index 4d3a8db6..ad5a2ca6 100644 --- a/docs/test_cases/t00066_class.svg +++ b/docs/test_cases/t00066_class.svg @@ -1,6 +1,6 @@ - + @@ -9,122 +9,222 @@ - - + + A - + - + a_ : int - + - + auto_member : const unsigned long - + - + b_ : int - + - + c_ : int - + - + private_member : int - + - + protected_member : int - + - + public_member : int - + - + static_const_int : const int - + - + static_int : int - - A(int i) : void - - A(A &&) = default : void - - A(const A &) = deleted : void - - A() = default : void - - auto_method() : int - - basic_method() : void - - const_method() const : void - - create_from_int(int i) : A - - default_int(int i = 12) : int - - default_string(int i, std::string s = "abc") : std::string - - double_int(const int i) : int - - operator++() : A & - - operator=(A && other) noexcept : A & - - operator=(A & other) noexcept : A & - - private_method() : void - - protected_method() : void - - size() const : std::size_t - - static_method() : int - - sum(const double a, const double b) : int - - ~A() = default : void - + + + + + + A(int i) : void + + + + + + + A(A &&) = default : void + + + + + + + A(const A &) = deleted : void + + + + + + + A() = default : void + + + + + + + auto_method() : int + + + + + + + basic_method() : void + + + + + + + const_method() const : void + + + + + + + create_from_int(int i) : A + + + + + + + default_int(int i = 12) : int + + + + + + + default_string(int i, std::string s = "abc") : std::string + + + + + + + double_int(const int i) : int + + + + + + + operator++() : A & + + + + + + + operator=(A && other) noexcept : A & + + + + + + + operator=(A & other) noexcept : A & + + + + + + + private_method() : void + + + + + + + protected_method() : void + + + + + + + size() const : std::size_t + + + + + + + static_method() : int + + + + + + + sum(const double a, const double b) : int + + + + + + + ~A() = default : void + + - + compare : std::function<bool (const int)> diff --git a/docs/test_cases/t00067.md b/docs/test_cases/t00067.md index ea12e258..48ab248f 100644 --- a/docs/test_cases/t00067.md +++ b/docs/test_cases/t00067.md @@ -248,6 +248,12 @@ int A::static_int = 1; "is_virtual": false, "name": "basic_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 17, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "void" }, { @@ -267,6 +273,12 @@ int A::static_int = 1; "is_virtual": false, "name": "const_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 19, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "void" }, { @@ -286,6 +298,12 @@ int A::static_int = 1; "is_virtual": false, "name": "auto_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 20, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "int" }, { @@ -305,6 +323,12 @@ int A::static_int = 1; "is_virtual": false, "name": "size", "parameters": [], + "source_location": { + "column": 17, + "file": "../../tests/t00067/t00067.cc", + "line": 31, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "std::size_t" }, { @@ -329,6 +353,12 @@ int A::static_int = 1; "type": "const int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 33, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "int" }, { @@ -357,6 +387,12 @@ int A::static_int = 1; "type": "const double" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 34, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "int" }, { @@ -382,6 +418,12 @@ int A::static_int = 1; "type": "int" } ], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 36, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "int" }, { @@ -411,6 +453,12 @@ int A::static_int = 1; "type": "std::string" } ], + "source_location": { + "column": 17, + "file": "../../tests/t00067/t00067.cc", + "line": 37, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "std::string" }, { @@ -430,6 +478,12 @@ int A::static_int = 1; "is_virtual": false, "name": "protected_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 50, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "void" }, { @@ -449,6 +503,12 @@ int A::static_int = 1; "is_virtual": false, "name": "private_method", "parameters": [], + "source_location": { + "column": 10, + "file": "../../tests/t00067/t00067.cc", + "line": 59, + "translation_unit": "../../tests/t00067/t00067.cc" + }, "type": "void" } ], @@ -465,8 +525,8 @@ int A::static_int = 1; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t00067_class", diff --git a/docs/test_cases/t00067_class.svg b/docs/test_cases/t00067_class.svg index ac4da59c..9f70ae8e 100644 --- a/docs/test_cases/t00067_class.svg +++ b/docs/test_cases/t00067_class.svg @@ -1,6 +1,6 @@ - + @@ -9,102 +9,152 @@ - - + + A - - auto_method() : int - - basic_method() : void - - const_method() const : void - - default_int(int i = 12) : int - - default_string(int i, std::string s = "abc") : std::string - - double_int(const int i) : int - - private_method() : void - - protected_method() : void - - size() const : std::size_t - - sum(const double a, const double b) : int - - + + + + + + auto_method() : int + + + + + + + basic_method() : void + + + + + + + const_method() const : void + + + + + + + default_int(int i = 12) : int + + + + + + + default_string(int i, std::string s = "abc") : std::string + + + + + + + double_int(const int i) : int + + + + + + + private_method() : void + + + + + + + protected_method() : void + + + + + + + size() const : std::size_t + + + + + + + sum(const double a, const double b) : int + + + - + a_ : int - + - + auto_member : const unsigned long - + - + b_ : int - + - + c_ : int - + - + compare : std::function<bool (const int)> - + - + private_member : int - + - + protected_member : int - + - + public_member : int - + - + static_const_int : const int - + - + static_int : int diff --git a/docs/test_cases/t20001.md b/docs/test_cases/t20001.md index 784679c7..e2cc47c6 100644 --- a/docs/test_cases/t20001.md +++ b/docs/test_cases/t20001.md @@ -108,8 +108,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20001_sequence", diff --git a/docs/test_cases/t20001_sequence.svg b/docs/test_cases/t20001_sequence.svg index a6c249c0..b2df9fbb 100644 --- a/docs/test_cases/t20001_sequence.svg +++ b/docs/test_cases/t20001_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,59 +9,59 @@ - - - - - - - + + + + + + + - - + + tmain() - + tmain() - - + + A - + A - - + + B - + B - - - - - - - - + + + + + + + + add(int,int) - + wrap_add3(int,int,int) - + add3(int,int,int) - + @@ -72,7 +72,7 @@ - + @@ -81,14 +81,14 @@ - + log_result(int) - + Main test function diff --git a/docs/test_cases/t20002.md b/docs/test_cases/t20002.md index 0d167ae9..83f6e2df 100644 --- a/docs/test_cases/t20002.md +++ b/docs/test_cases/t20002.md @@ -45,8 +45,8 @@ void m1() { m2(); } { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20002_sequence", diff --git a/docs/test_cases/t20002_sequence.svg b/docs/test_cases/t20002_sequence.svg index d5613489..f3c318b1 100644 --- a/docs/test_cases/t20002_sequence.svg +++ b/docs/test_cases/t20002_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,51 +9,51 @@ - - - - + + + + - - + + m1() - + m1() - - + + m2() - + m2() - - + + m3() - + m3() - - + + m4() - + m4() - - - - - + + + + + - + - + diff --git a/docs/test_cases/t20003.md b/docs/test_cases/t20003.md index ec1df15a..9161aa5f 100644 --- a/docs/test_cases/t20003.md +++ b/docs/test_cases/t20003.md @@ -41,8 +41,8 @@ template void m1(T p) { m2(p); } { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20003_sequence", diff --git a/docs/test_cases/t20003_sequence.svg b/docs/test_cases/t20003_sequence.svg index 3f4d11cf..729be7b7 100644 --- a/docs/test_cases/t20003_sequence.svg +++ b/docs/test_cases/t20003_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,51 +9,51 @@ - - - - + + + + - - + + m1<T>(T) - + m1<T>(T) - - + + m2<T>(T) - + m2<T>(T) - - + + m3<T>(T) - + m3<T>(T) - - + + m4<T>(T) - + m4<T>(T) - - - - - + + + + + - + - + diff --git a/docs/test_cases/t20004.md b/docs/test_cases/t20004.md index 0a38d3a9..49fe0654 100644 --- a/docs/test_cases/t20004.md +++ b/docs/test_cases/t20004.md @@ -77,8 +77,8 @@ int main() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20004_sequence", diff --git a/docs/test_cases/t20004_sequence.svg b/docs/test_cases/t20004_sequence.svg index cfa74408..f377f01b 100644 --- a/docs/test_cases/t20004_sequence.svg +++ b/docs/test_cases/t20004_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,16 +9,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -29,87 +29,87 @@ - - + + main() - + main() - - + + m1<float>(float) - + m1<float>(float) - - + + m1<unsigned long>(unsigned long) - + m1<unsigned long>(unsigned long) - - + + m4<unsigned long>(unsigned long) - + m4<unsigned long>(unsigned long) - - + + m1<std::string>(std::string) - + m1<std::string>(std::string) - - + + m2<std::string>(std::string) - + m2<std::string>(std::string) - - + + m1<int>(int) - + m1<int>(int) - - + + m2<int>(int) - + m2<int>(int) - - + + m3<int>(int) - + m3<int>(int) - - + + m4<int>(int) - + m4<int>(int) - - - - - - - - - - - + + + + + + + + + + + - + - + @@ -117,11 +117,11 @@ - + - + @@ -129,19 +129,19 @@ - + - + - + - + diff --git a/docs/test_cases/t20005.md b/docs/test_cases/t20005.md index 3dbbffa9..d553695d 100644 --- a/docs/test_cases/t20005.md +++ b/docs/test_cases/t20005.md @@ -48,8 +48,8 @@ template struct C { { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20005_sequence", diff --git a/docs/test_cases/t20005_sequence.svg b/docs/test_cases/t20005_sequence.svg index 424cb887..29e2a986 100644 --- a/docs/test_cases/t20005_sequence.svg +++ b/docs/test_cases/t20005_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,42 +9,42 @@ - - - + + + - - + + C<T> - + C<T> - - + + B<T> - + B<T> - - + + A<T> - + A<T> - - - + + + c(T) - + b(T) - + a(T) diff --git a/docs/test_cases/t20006.md b/docs/test_cases/t20006.md index aa620aca..aa3b0e4d 100644 --- a/docs/test_cases/t20006.md +++ b/docs/test_cases/t20006.md @@ -106,8 +106,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20006_sequence", diff --git a/docs/test_cases/t20006_sequence.svg b/docs/test_cases/t20006_sequence.svg index c6eeec49..0a1e31e5 100644 --- a/docs/test_cases/t20006_sequence.svg +++ b/docs/test_cases/t20006_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,22 +9,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -34,82 +34,82 @@ - - + + tmain() - + tmain() - - + + B<int> - + B<int> - - + + A<int> - + A<int> - - + + B<std::string> - + B<std::string> - - + + A<std::string> - + A<std::string> - - + + BB<int,int> - + BB<int,int> - - + + AA<int> - + AA<int> - - + + BB<int,std::string> - + BB<int,std::string> - - + + BB<int,float> - + BB<int,float> - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + b(int) - + a1(int) @@ -118,12 +118,12 @@ - + b(std::string) - + a2(std::string) @@ -132,59 +132,59 @@ - + bb1(int,int) - + aa1(int) - + bb2(int,int) - + aa2(int) - + bb1(int,std::string) - + aa2(int) - + bb2(int,std::string) - + aa1(int) - + bb1(int,float) - + bb2(int,float) - + aa2(int) diff --git a/docs/test_cases/t20007.md b/docs/test_cases/t20007.md index 76cf084c..229326a1 100644 --- a/docs/test_cases/t20007.md +++ b/docs/test_cases/t20007.md @@ -52,8 +52,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20007_sequence", diff --git a/docs/test_cases/t20007_sequence.svg b/docs/test_cases/t20007_sequence.svg index 34450653..ee0c0649 100644 --- a/docs/test_cases/t20007_sequence.svg +++ b/docs/test_cases/t20007_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,57 +9,57 @@ - - - - + + + + - - + + tmain() - + tmain() - - + + Adder<int,int> - + Adder<int,int> - - + + Adder<int,float,double> - + Adder<int,float,double> - - + + Adder<std::string,std::string,std::string> - + Adder<std::string,std::string,std::string> - - - - - + + + + + add(int &&,int &&) - + add(int &&,float &&,double &&) - + add(std::string &&,std::string &&,std::string &&) diff --git a/docs/test_cases/t20008.md b/docs/test_cases/t20008.md index 4fe0dc1d..52131e50 100644 --- a/docs/test_cases/t20008.md +++ b/docs/test_cases/t20008.md @@ -70,8 +70,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20008_sequence", diff --git a/docs/test_cases/t20008_sequence.svg b/docs/test_cases/t20008_sequence.svg index fde4c767..c6cae267 100644 --- a/docs/test_cases/t20008_sequence.svg +++ b/docs/test_cases/t20008_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,13 +9,13 @@ - - - - - - - + + + + + + + @@ -23,81 +23,81 @@ - - + + tmain() - + tmain() - - + + B<int> - + B<int> - - + + A<int> - + A<int> - - + + B<const char *> - + B<const char *> - - + + A<const char *> - + A<const char *> - - + + B<std::string> - + B<std::string> - - + + A<std::string> - + A<std::string> - - - - - - - - + + + + + + + + b(int) - + a1(int) - + b(const char *) - + a2(const char *) - + b(std::string) - + a3(std::string) diff --git a/docs/test_cases/t20009.md b/docs/test_cases/t20009.md index 4a02b1f0..7c690792 100644 --- a/docs/test_cases/t20009.md +++ b/docs/test_cases/t20009.md @@ -56,8 +56,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20009_sequence", diff --git a/docs/test_cases/t20009_sequence.svg b/docs/test_cases/t20009_sequence.svg index 19049fed..1c5514d0 100644 --- a/docs/test_cases/t20009_sequence.svg +++ b/docs/test_cases/t20009_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,13 +9,13 @@ - - - - - - - + + + + + + + @@ -23,81 +23,81 @@ - - + + tmain() - + tmain() - - + + B<std::string> - + B<std::string> - - + + A<std::string> - + A<std::string> - - + + B<int> - + B<int> - - + + A<int> - + A<int> - - + + B<float> - + B<float> - - + + A<float> - + A<float> - - - - - - - - + + + + + + + + b(std::string) - + a(std::string) - + b(int) - + a(int) - + b(float) - + a(float) diff --git a/docs/test_cases/t20010.md b/docs/test_cases/t20010.md index f0b1337b..4814d546 100644 --- a/docs/test_cases/t20010.md +++ b/docs/test_cases/t20010.md @@ -66,8 +66,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20010_sequence", diff --git a/docs/test_cases/t20010_sequence.svg b/docs/test_cases/t20010_sequence.svg index 8772f4e3..ef7435e2 100644 --- a/docs/test_cases/t20010_sequence.svg +++ b/docs/test_cases/t20010_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,81 +9,81 @@ - - - - - - - - - + + + + + + + + + - - + + tmain() - + tmain() - - + + B<int> - + B<int> - - + + A - + A - - - - - - - - - - + + + + + + + + + + b1() - + a1() - + b2() - + a2() - + b3() - + a3() - + b4() - + a4() diff --git a/docs/test_cases/t20011.md b/docs/test_cases/t20011.md index 8791b49e..afdaaa08 100644 --- a/docs/test_cases/t20011.md +++ b/docs/test_cases/t20011.md @@ -58,8 +58,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20011_sequence", diff --git a/docs/test_cases/t20011_sequence.svg b/docs/test_cases/t20011_sequence.svg index 3a3291fb..549c66d5 100644 --- a/docs/test_cases/t20011_sequence.svg +++ b/docs/test_cases/t20011_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,42 +9,42 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - + + tmain() - + tmain() - - + + A - + A - - - - - - - - - - + + + + + + + + + + a(int) @@ -52,26 +52,26 @@ alt - + a(int) - + b(int) - + c(int) - + @@ -81,14 +81,14 @@ alt - + b(int) - + @@ -98,7 +98,7 @@ alt - + diff --git a/docs/test_cases/t20012.md b/docs/test_cases/t20012.md index 0897d114..b34aac3a 100644 --- a/docs/test_cases/t20012.md +++ b/docs/test_cases/t20012.md @@ -133,8 +133,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20012_sequence", diff --git a/docs/test_cases/t20012_sequence.svg b/docs/test_cases/t20012_sequence.svg index 7960cd8d..20f6a955 100644 --- a/docs/test_cases/t20012_sequence.svg +++ b/docs/test_cases/t20012_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,31 +9,31 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -43,122 +43,122 @@ - - + + tmain() - + tmain() - - + + tmain()::(lambda ../../tests/t20012/t20012.cc:67:20) - + tmain()::(lambda ../../tests/t20012/t20012.cc:67:20) - - + + A - + A - - + + B - + B - - + + tmain()::(lambda ../../tests/t20012/t20012.cc:80:20) - + tmain()::(lambda ../../tests/t20012/t20012.cc:80:20) - - + + C - + C - - + + R<R::(lambda ../../tests/t20012/t20012.cc:86:9)> - + R<R::(lambda ../../tests/t20012/t20012.cc:86:9)> - - + + tmain()::(lambda ../../tests/t20012/t20012.cc:86:9) - + tmain()::(lambda ../../tests/t20012/t20012.cc:86:9) - - + + D - + D - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + operator()() - + a() - + aa() - + aaa() - + b() - + bb() - + @@ -167,67 +167,67 @@ - + operator()() - + c() - + cc() - + ccc() - + operator()() - + a() - + aa() - + aaa() - + b() - + bb() - + @@ -238,29 +238,29 @@ - + r() - + operator()() - + c() - + cc() - + @@ -269,7 +269,7 @@ - + add5(int) diff --git a/docs/test_cases/t20013.md b/docs/test_cases/t20013.md index 87a55c27..f9290340 100644 --- a/docs/test_cases/t20013.md +++ b/docs/test_cases/t20013.md @@ -54,8 +54,8 @@ void tmain(int argc, char **argv) { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20013_sequence", diff --git a/docs/test_cases/t20013_sequence.svg b/docs/test_cases/t20013_sequence.svg index 03fe6934..ae8c0ac8 100644 --- a/docs/test_cases/t20013_sequence.svg +++ b/docs/test_cases/t20013_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,47 +9,47 @@ - - - - - - - + + + + + + + - - + + tmain(int,char **) - + tmain(int,char **) - - + + B - + B - - + + A - + A - - - - - - - - + + + + + + + + b(int) - + a1(int) @@ -58,12 +58,12 @@ - + b(double) - + a2(double) @@ -72,12 +72,12 @@ - + b(const char *) - + a3(const char *) diff --git a/docs/test_cases/t20014.md b/docs/test_cases/t20014.md index c85af857..ca839892 100644 --- a/docs/test_cases/t20014.md +++ b/docs/test_cases/t20014.md @@ -89,8 +89,8 @@ namespace t20014 { { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20014_sequence", diff --git a/docs/test_cases/t20014_sequence.svg b/docs/test_cases/t20014_sequence.svg index 5ff177df..3381e975 100644 --- a/docs/test_cases/t20014_sequence.svg +++ b/docs/test_cases/t20014_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,56 +9,56 @@ - - - - - - - - + + + + + + + + - - + + tmain() - + tmain() - - + + B - + B - - + + A - + A - - + + C<B,int> - + C<B,int> - - - - - - - - - + + + + + + + + + b1(int,int) - + a1(int,int) @@ -67,12 +67,12 @@ - + b2(int,int) - + a2(int,int) @@ -81,17 +81,17 @@ - + c1(int,int) - + b1(int,int) - + a1(int,int) diff --git a/docs/test_cases/t20015.md b/docs/test_cases/t20015.md index 9ff7d130..1ff312c0 100644 --- a/docs/test_cases/t20015.md +++ b/docs/test_cases/t20015.md @@ -70,8 +70,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20015_sequence", diff --git a/docs/test_cases/t20015_sequence.svg b/docs/test_cases/t20015_sequence.svg index 5acdcbab..7c024d6b 100644 --- a/docs/test_cases/t20015_sequence.svg +++ b/docs/test_cases/t20015_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,25 +9,25 @@ - - + + - - + + tmain() - + tmain() - - + + B - + B - - - + + + setup_a(std::shared_ptr<detail::A> &) diff --git a/docs/test_cases/t20016.md b/docs/test_cases/t20016.md index f068a167..c2aae0d8 100644 --- a/docs/test_cases/t20016.md +++ b/docs/test_cases/t20016.md @@ -52,8 +52,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20016_sequence", diff --git a/docs/test_cases/t20016_sequence.svg b/docs/test_cases/t20016_sequence.svg index d3a6fa35..dcfb7509 100644 --- a/docs/test_cases/t20016_sequence.svg +++ b/docs/test_cases/t20016_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,53 +9,53 @@ - - - - - + + + + + - - + + tmain() - + tmain() - - + + B<long> - + B<long> - - + + A - + A - - - - - - + + + + + + b1(long) - + a1(int) - + b2(long) - + a2(const long &) diff --git a/docs/test_cases/t20017.md b/docs/test_cases/t20017.md index 05fd4a0d..a7da3fa2 100644 --- a/docs/test_cases/t20017.md +++ b/docs/test_cases/t20017.md @@ -49,8 +49,8 @@ int tmain() { return b2(a1(a2(a3(1, 2), b1(3, 4)), 5), 6); } { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20017_sequence", diff --git a/docs/test_cases/t20017_sequence.svg b/docs/test_cases/t20017_sequence.svg index a4c6c02b..10da9b67 100644 --- a/docs/test_cases/t20017_sequence.svg +++ b/docs/test_cases/t20017_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,65 +9,65 @@ - - - - - - + + + + + + - + t20017.cc - + t20017.cc - + include/t20017_a.h - + include/t20017_a.h - + include/t20017_b.h - + include/t20017_b.h - - - - - - + + + + + + tmain() - + a3(int,int) - + b1(int,int) - + a2(int,int) - + a1(int,int) - + b2<int>(int,int) diff --git a/docs/test_cases/t20018.md b/docs/test_cases/t20018.md index 1a96e7c1..8921f36a 100644 --- a/docs/test_cases/t20018.md +++ b/docs/test_cases/t20018.md @@ -54,8 +54,8 @@ void tmain() { Answer>::print(); } { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20018_sequence", diff --git a/docs/test_cases/t20018_sequence.svg b/docs/test_cases/t20018_sequence.svg index b071df3b..7ca082f1 100644 --- a/docs/test_cases/t20018_sequence.svg +++ b/docs/test_cases/t20018_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,14 +9,14 @@ - - - - - - - - + + + + + + + + @@ -25,93 +25,93 @@ - - + + tmain() - + tmain() - - + + Answer<Factorial<5>,120> - + Answer<Factorial<5>,120> - - + + Factorial<5> - + Factorial<5> - - + + Factorial<4> - + Factorial<4> - - + + Factorial<3> - + Factorial<3> - - + + Factorial<2> - + Factorial<2> - - + + Factorial<1> - + Factorial<1> - - + + Factorial<0> - + Factorial<0> - - - - - - - - - + + + + + + + + + print() - + print(int) - + print(int) - + print(int) - + print(int) - + print(int) - + print(int) diff --git a/docs/test_cases/t20019.md b/docs/test_cases/t20019.md index d849fba0..04bff432 100644 --- a/docs/test_cases/t20019.md +++ b/docs/test_cases/t20019.md @@ -61,8 +61,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20019_sequence", diff --git a/docs/test_cases/t20019_sequence.svg b/docs/test_cases/t20019_sequence.svg index 4c7cea80..f0913303 100644 --- a/docs/test_cases/t20019_sequence.svg +++ b/docs/test_cases/t20019_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,95 +9,95 @@ - - - - - - - - - + + + + + + + + + - - + + tmain() - + tmain() - - + + Base<D1> - + Base<D1> - - + + D1 - + D1 - - + + Base<D2> - + Base<D2> - - + + D2 - + D2 - - - - - - - - - - + + + + + + + + + + name() - + impl() - + name() - + impl() - + name() - + impl() - + name() - + impl() diff --git a/docs/test_cases/t20020.md b/docs/test_cases/t20020.md index f52620a7..44384b04 100644 --- a/docs/test_cases/t20020.md +++ b/docs/test_cases/t20020.md @@ -113,8 +113,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20020_sequence", diff --git a/docs/test_cases/t20020_sequence.svg b/docs/test_cases/t20020_sequence.svg index 977d3ec0..52e13112 100644 --- a/docs/test_cases/t20020_sequence.svg +++ b/docs/test_cases/t20020_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,78 +9,78 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - - - + + + - - + + tmain() - + tmain() - - + + A - + A - - + + C - + C - - + + B - + B - - + + D<int> - + D<int> - - - - - - - - - - - - - + + + + + + + + + + + + + alt - + a1() @@ -91,7 +91,7 @@ alt - + [ @@ -100,7 +100,7 @@ - + [ @@ -109,7 +109,7 @@ - + b1() @@ -117,7 +117,7 @@ - + [ @@ -126,21 +126,21 @@ - + b2() - + a4() - + log() @@ -148,7 +148,7 @@ alt - + c1() @@ -156,7 +156,7 @@ alt - + @@ -169,7 +169,7 @@ - + @@ -179,7 +179,7 @@ alt - + d1(int,int) diff --git a/docs/test_cases/t20021.md b/docs/test_cases/t20021.md index b2b183ce..3c3d8016 100644 --- a/docs/test_cases/t20021.md +++ b/docs/test_cases/t20021.md @@ -84,8 +84,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20021_sequence", diff --git a/docs/test_cases/t20021_sequence.svg b/docs/test_cases/t20021_sequence.svg index c8a31613..6f08affd 100644 --- a/docs/test_cases/t20021_sequence.svg +++ b/docs/test_cases/t20021_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,74 +9,74 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + tmain() - + tmain() - - + + C - + C - - + + A - + A - - + + B - + B - - - - - - - - - - - - + + + + + + + + + + + + loop - + [ c4() ] - + @@ -89,7 +89,7 @@ - + a3() @@ -102,7 +102,7 @@ loop - + [ @@ -111,7 +111,7 @@ - + [ @@ -120,7 +120,7 @@ - + [ @@ -129,14 +129,14 @@ - + a1() - + [ @@ -148,7 +148,7 @@ loop - + b2() @@ -158,7 +158,7 @@ loop - + [ @@ -167,7 +167,7 @@ - + b2() diff --git a/docs/test_cases/t20022.md b/docs/test_cases/t20022.md index b7eb0c66..f8766771 100644 --- a/docs/test_cases/t20022.md +++ b/docs/test_cases/t20022.md @@ -64,8 +64,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20022_sequence", diff --git a/docs/test_cases/t20022_sequence.svg b/docs/test_cases/t20022_sequence.svg index a51a2668..4fec3631 100644 --- a/docs/test_cases/t20022_sequence.svg +++ b/docs/test_cases/t20022_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,39 +9,39 @@ - - - + + + - - + + tmain() - + tmain() - - + + A - + A - - + + B - + B - - - - + + + + a() - + b() diff --git a/docs/test_cases/t20023.md b/docs/test_cases/t20023.md index 9e14daa1..2931c74f 100644 --- a/docs/test_cases/t20023.md +++ b/docs/test_cases/t20023.md @@ -67,8 +67,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20023_sequence", diff --git a/docs/test_cases/t20023_sequence.svg b/docs/test_cases/t20023_sequence.svg index e655e70b..d29d04e3 100644 --- a/docs/test_cases/t20023_sequence.svg +++ b/docs/test_cases/t20023_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,37 +9,37 @@ - - - - - - - + + + + + + + - - + + tmain() - + tmain() - - + + A - + A - - - - - - - + + + + + + + a() @@ -47,7 +47,7 @@ try - + @@ -60,7 +60,7 @@ [std::runtime_error &] - + @@ -73,7 +73,7 @@ [std::logic_error &] - + @@ -86,7 +86,7 @@ [...] - + diff --git a/docs/test_cases/t20024.md b/docs/test_cases/t20024.md index 59ca68ab..d92e8c47 100644 --- a/docs/test_cases/t20024.md +++ b/docs/test_cases/t20024.md @@ -92,8 +92,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20024_sequence", diff --git a/docs/test_cases/t20024_sequence.svg b/docs/test_cases/t20024_sequence.svg index 17f77c9b..5d7dc0f9 100644 --- a/docs/test_cases/t20024_sequence.svg +++ b/docs/test_cases/t20024_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,23 +9,23 @@ - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -33,36 +33,36 @@ - - + + tmain() - + tmain() - - + + A - + A - - + + B - + B - - - - - - - - - - - - + + + + + + + + + + + + select(enum_a) @@ -72,7 +72,7 @@ switch [zero] - + @@ -85,7 +85,7 @@ [one] - + @@ -98,7 +98,7 @@ [two] - + @@ -111,7 +111,7 @@ [default] - + @@ -124,7 +124,7 @@ - + select(colors) @@ -134,7 +134,7 @@ switch [enum colors::red] - + @@ -143,7 +143,7 @@ [enum colors::orange] - + @@ -152,7 +152,7 @@ [enum colors::green] - + @@ -161,7 +161,7 @@ [default] - + diff --git a/docs/test_cases/t20025.md b/docs/test_cases/t20025.md index 063e177b..28300342 100644 --- a/docs/test_cases/t20025.md +++ b/docs/test_cases/t20025.md @@ -72,8 +72,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20025_sequence", diff --git a/docs/test_cases/t20025_sequence.svg b/docs/test_cases/t20025_sequence.svg index 131fb723..8819bfae 100644 --- a/docs/test_cases/t20025_sequence.svg +++ b/docs/test_cases/t20025_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,41 +9,41 @@ - - - - + + + + - - + + tmain() - + tmain() - - + + A - + A - - + + add(int,int) - + add(int,int) - - - - - + + + + + a() - + @@ -52,7 +52,7 @@ - + diff --git a/docs/test_cases/t20026.md b/docs/test_cases/t20026.md index 2c45d7bf..bac8466d 100644 --- a/docs/test_cases/t20026.md +++ b/docs/test_cases/t20026.md @@ -52,8 +52,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20026_sequence", diff --git a/docs/test_cases/t20026_sequence.svg b/docs/test_cases/t20026_sequence.svg index 63ae1328..896ee646 100644 --- a/docs/test_cases/t20026_sequence.svg +++ b/docs/test_cases/t20026_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,25 +9,25 @@ - - + + - - + + tmain() - + tmain() - - + + A - + A - - - + + + a() diff --git a/docs/test_cases/t20027.md b/docs/test_cases/t20027.md index 58f18b0f..182988b5 100644 --- a/docs/test_cases/t20027.md +++ b/docs/test_cases/t20027.md @@ -51,8 +51,8 @@ void tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20027_sequence", diff --git a/docs/test_cases/t20027_sequence.svg b/docs/test_cases/t20027_sequence.svg index 724025b7..33ee46c4 100644 --- a/docs/test_cases/t20027_sequence.svg +++ b/docs/test_cases/t20027_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,25 +9,25 @@ - - + + - - + + tmain() - + tmain() - - + + A - + A - - - + + + a() diff --git a/docs/test_cases/t20028.md b/docs/test_cases/t20028.md index 3b2a63d8..b84bb08f 100644 --- a/docs/test_cases/t20028.md +++ b/docs/test_cases/t20028.md @@ -61,8 +61,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20028_sequence", diff --git a/docs/test_cases/t20028_sequence.svg b/docs/test_cases/t20028_sequence.svg index 8a306b30..1e8a64f3 100644 --- a/docs/test_cases/t20028_sequence.svg +++ b/docs/test_cases/t20028_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,50 +9,50 @@ - - - - - - + + + + + + - - + + tmain() - + tmain() - - + + A - + A - - - - - + + + + + alt - + a() - + b() - + c() @@ -60,7 +60,7 @@ - + d() diff --git a/docs/test_cases/t20029.md b/docs/test_cases/t20029.md index 72634c42..df4e7e17 100644 --- a/docs/test_cases/t20029.md +++ b/docs/test_cases/t20029.md @@ -105,8 +105,8 @@ int tmain() { "diagram_type": "sequence", "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t20029_sequence", diff --git a/docs/test_cases/t20029_sequence.svg b/docs/test_cases/t20029_sequence.svg index 6191851f..2362f133 100644 --- a/docs/test_cases/t20029_sequence.svg +++ b/docs/test_cases/t20029_sequence.svg @@ -1,6 +1,6 @@ - + @@ -9,60 +9,60 @@ - - - - - - - - - - - + + + + + + + + + + + - - + + tmain() - + tmain() - - + + Encoder<Retrier<ConnectionPool>> - + Encoder<Retrier<ConnectionPool>> - - + + Retrier<ConnectionPool> - + Retrier<ConnectionPool> - - + + ConnectionPool - + ConnectionPool - - + + encode_b64(std::string &&) - + encode_b64(std::string &&) - - - - - - - - + + + + + + + + connect() @@ -73,21 +73,21 @@ alt - + [ send(std::string &&) ] - + encode(std::string &&) - + @@ -97,7 +97,7 @@ - + send(std::string &&) @@ -108,7 +108,7 @@ alt - + [ diff --git a/docs/test_cases/t30001.md b/docs/test_cases/t30001.md index 4864ff71..08f4db09 100644 --- a/docs/test_cases/t30001.md +++ b/docs/test_cases/t30001.md @@ -63,6 +63,34 @@ namespace BB { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30001", + "id": "1807513669798383046", + "is_deprecated": false, + "name": "t30001", + "source_location": { + "column": 11, + "file": "../../tests/t30001/t30001.cc", + "line": 2, + "translation_unit": "../../tests/t30001/t30001.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30001/t30001.cc", + "line": 1, + "translation_unit": "../../tests/t30001/t30001.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30001::A", "elements": [ @@ -211,8 +239,8 @@ namespace BB { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30001_package", diff --git a/docs/test_cases/t30001_package.svg b/docs/test_cases/t30001_package.svg index d5db1124..a90189bb 100644 --- a/docs/test_cases/t30001_package.svg +++ b/docs/test_cases/t30001_package.svg @@ -1,6 +1,6 @@ - + @@ -9,63 +9,63 @@ - - + + A - - + + AA - - + + B - - + + AA - - + + AAA - - + + BBB - - + + BB - - + + AAA - - + + BBB - - + + BB - + A AAA note... - + This is namespace AA in namespace A - + This is namespace AA in namespace B diff --git a/docs/test_cases/t30002.md b/docs/test_cases/t30002.md index 713974e6..7dbe480e 100644 --- a/docs/test_cases/t30002.md +++ b/docs/test_cases/t30002.md @@ -150,6 +150,34 @@ template std::map> cm() { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30002", + "id": "1283027613970360489", + "is_deprecated": false, + "name": "t30002", + "source_location": { + "column": 11, + "file": "../../tests/t30002/t30002.cc", + "line": 8, + "translation_unit": "../../tests/t30002/t30002.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30002/t30002.cc", + "line": 7, + "translation_unit": "../../tests/t30002/t30002.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30002::A", "elements": [ @@ -459,8 +487,8 @@ template std::map> cm() } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30002_package", diff --git a/docs/test_cases/t30002_package.svg b/docs/test_cases/t30002_package.svg index 2f9f4503..b8e27d1d 100644 --- a/docs/test_cases/t30002_package.svg +++ b/docs/test_cases/t30002_package.svg @@ -1,6 +1,6 @@ - + @@ -9,118 +9,118 @@ - - + + A - - + + AA - - + + B - - + + BB - - + + A1 - - + + A2 - - + + A3 - - + + A4 - - + + A5 - - + + A6 - - + + A7 - - + + A8 - - + + A9 - - + + A10 - - + + A11 - - + + A12 - - + + A13 - - + + A14 - - + + A15 - - + + A16 - - + + A17 - - + + A18 - - + + BBB diff --git a/docs/test_cases/t30003.md b/docs/test_cases/t30003.md index 769947ed..2f10e873 100644 --- a/docs/test_cases/t30003.md +++ b/docs/test_cases/t30003.md @@ -55,6 +55,34 @@ class B : public ns1::ns2::Anon { }; { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30003", + "id": "1288549465151585544", + "is_deprecated": false, + "name": "t30003", + "source_location": { + "column": 11, + "file": "../../tests/t30003/t30003.cc", + "line": 2, + "translation_unit": "../../tests/t30003/t30003.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30003/t30003.cc", + "line": 1, + "translation_unit": "../../tests/t30003/t30003.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30003::ns1", "elements": [ @@ -141,8 +169,8 @@ class B : public ns1::ns2::Anon { }; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30003_package", diff --git a/docs/test_cases/t30003_package.svg b/docs/test_cases/t30003_package.svg index a324a2f1..d60c3dbb 100644 --- a/docs/test_cases/t30003_package.svg +++ b/docs/test_cases/t30003_package.svg @@ -1,6 +1,6 @@ - + @@ -9,35 +9,35 @@ - - + + ns1 - - + + ns3 «deprecated» - - + + ns1 - - + + ns2_v1_0_0 - - + + ns2_v0_9_0 «deprecated» - - + + ns2 diff --git a/docs/test_cases/t30004.md b/docs/test_cases/t30004.md index f50533ad..2692397a 100644 --- a/docs/test_cases/t30004.md +++ b/docs/test_cases/t30004.md @@ -63,6 +63,34 @@ namespace CCC { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30004", + "id": "678274068594347618", + "is_deprecated": false, + "name": "t30004", + "source_location": { + "column": 11, + "file": "../../tests/t30004/t30004.cc", + "line": 2, + "translation_unit": "../../tests/t30004/t30004.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30004/t30004.cc", + "line": 1, + "translation_unit": "../../tests/t30004/t30004.cc" + }, + "type": "namespace" + }, { "comment": { "formatted": "@uml{style[#green]}", @@ -152,8 +180,8 @@ namespace CCC { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30004_package", diff --git a/docs/test_cases/t30004_package.svg b/docs/test_cases/t30004_package.svg index 1841baab..e833dbb4 100644 --- a/docs/test_cases/t30004_package.svg +++ b/docs/test_cases/t30004_package.svg @@ -1,6 +1,6 @@ - + @@ -9,40 +9,40 @@ - - + + A - + Package AAA. - + Package BBB. - + CCCC package note. - + We skipped DDD. - - + + AAA - - + + BBB - - + + CCC - - + + EEE diff --git a/docs/test_cases/t30005.md b/docs/test_cases/t30005.md index 2888f482..c1121308 100644 --- a/docs/test_cases/t30005.md +++ b/docs/test_cases/t30005.md @@ -55,6 +55,34 @@ struct C2 { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30005", + "id": "1344350061092822214", + "is_deprecated": false, + "name": "t30005", + "source_location": { + "column": 11, + "file": "../../tests/t30005/t30005.cc", + "line": 2, + "translation_unit": "../../tests/t30005/t30005.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30005/t30005.cc", + "line": 1, + "translation_unit": "../../tests/t30005/t30005.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30005::A", "elements": [ @@ -186,8 +214,8 @@ struct C2 { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30005_package", diff --git a/docs/test_cases/t30005_package.svg b/docs/test_cases/t30005_package.svg index 8b76842d..f2d3618f 100644 --- a/docs/test_cases/t30005_package.svg +++ b/docs/test_cases/t30005_package.svg @@ -1,6 +1,6 @@ - + @@ -9,48 +9,48 @@ - - + + A - - + + AA - - + + B - - + + BB - - + + C - - + + CC - - + + AAA - - + + BBB - - + + CCC diff --git a/docs/test_cases/t30006.md b/docs/test_cases/t30006.md index 2c8f1606..29406afe 100644 --- a/docs/test_cases/t30006.md +++ b/docs/test_cases/t30006.md @@ -55,6 +55,34 @@ struct A2 { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30006", + "id": "1391231216610531704", + "is_deprecated": false, + "name": "t30006", + "source_location": { + "column": 11, + "file": "../../tests/t30006/t30006.cc", + "line": 2, + "translation_unit": "../../tests/t30006/t30006.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30006/t30006.cc", + "line": 1, + "translation_unit": "../../tests/t30006/t30006.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30006::B", "id": "1659090172211944144", @@ -100,8 +128,8 @@ struct A2 { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30006_package", diff --git a/docs/test_cases/t30006_package.svg b/docs/test_cases/t30006_package.svg index bdfe7722..990aae0a 100644 --- a/docs/test_cases/t30006_package.svg +++ b/docs/test_cases/t30006_package.svg @@ -1,6 +1,6 @@ - + @@ -9,22 +9,22 @@ - - + + B - - + + A - - + + C - + Top A note. diff --git a/docs/test_cases/t30007.md b/docs/test_cases/t30007.md index 773f850f..65baf87d 100644 --- a/docs/test_cases/t30007.md +++ b/docs/test_cases/t30007.md @@ -63,6 +63,34 @@ struct A2 { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30007", + "id": "279529588091010017", + "is_deprecated": false, + "name": "t30007", + "source_location": { + "column": 11, + "file": "../../tests/t30007/t30007.cc", + "line": 2, + "translation_unit": "../../tests/t30007/t30007.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30007/t30007.cc", + "line": 1, + "translation_unit": "../../tests/t30007/t30007.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30007::B", "id": "1852704221005355550", @@ -123,8 +151,8 @@ struct A2 { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30007_package", diff --git a/docs/test_cases/t30007_package.svg b/docs/test_cases/t30007_package.svg index 4e767471..c580a594 100644 --- a/docs/test_cases/t30007_package.svg +++ b/docs/test_cases/t30007_package.svg @@ -1,6 +1,6 @@ - + @@ -9,27 +9,27 @@ - - + + A - - + + B - - + + AA - - + + C - + Compare layout with t30006. diff --git a/docs/test_cases/t30008.md b/docs/test_cases/t30008.md index 5c36729c..a716e690 100644 --- a/docs/test_cases/t30008.md +++ b/docs/test_cases/t30008.md @@ -211,8 +211,8 @@ struct FF { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30008_package", diff --git a/docs/test_cases/t30008_package.svg b/docs/test_cases/t30008_package.svg index 0c622915..180943a1 100644 --- a/docs/test_cases/t30008_package.svg +++ b/docs/test_cases/t30008_package.svg @@ -1,6 +1,6 @@ - + @@ -9,43 +9,43 @@ - - + + dependants - - + + dependencies - - + + A - - + + B - - + + C - - + + D - - + + E - - + + F diff --git a/docs/test_cases/t30009.md b/docs/test_cases/t30009.md index 9a6f9419..7f2d57a7 100644 --- a/docs/test_cases/t30009.md +++ b/docs/test_cases/t30009.md @@ -53,6 +53,34 @@ namespace D { { "diagram_type": "package", "elements": [ + { + "display_name": "clanguml", + "elements": [ + { + "display_name": "clanguml::t30009", + "id": "1266799397652663064", + "is_deprecated": false, + "name": "t30009", + "source_location": { + "column": 21, + "file": "../../tests/t30009/t30009.cc", + "line": 1, + "translation_unit": "../../tests/t30009/t30009.cc" + }, + "type": "namespace" + } + ], + "id": "2174271399507040339", + "is_deprecated": false, + "name": "clanguml", + "source_location": { + "column": 11, + "file": "../../tests/t30009/t30009.cc", + "line": 1, + "translation_unit": "../../tests/t30009/t30009.cc" + }, + "type": "namespace" + }, { "display_name": "clanguml::t30009::One", "elements": [ @@ -189,8 +217,8 @@ namespace D { } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30009_package", diff --git a/docs/test_cases/t30009_package.svg b/docs/test_cases/t30009_package.svg index 542699fe..c5f9bd04 100644 --- a/docs/test_cases/t30009_package.svg +++ b/docs/test_cases/t30009_package.svg @@ -1,6 +1,6 @@ - + @@ -9,53 +9,53 @@ - - + + One - - + + Two - - + + B - - + + D - - + + A - - + + C - - + + A - - + + B - - + + C - - + + D diff --git a/docs/test_cases/t30010.md b/docs/test_cases/t30010.md index 7bb7de37..7f1cfe05 100644 --- a/docs/test_cases/t30010.md +++ b/docs/test_cases/t30010.md @@ -12,10 +12,9 @@ diagrams: - t30010.cc relative_to: ../../../tests/t30010 include: - namespaces: - - clanguml::t30010 -# paths: -# - . + paths: + - app + - libraries using_namespace: - clanguml::t30010 ``` @@ -86,8 +85,8 @@ App app; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30010_package", diff --git a/docs/test_cases/t30011.md b/docs/test_cases/t30011.md index 38cd691f..2b65ff68 100644 --- a/docs/test_cases/t30011.md +++ b/docs/test_cases/t30011.md @@ -75,8 +75,8 @@ struct t30011_App app; } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t30011_package", diff --git a/docs/test_cases/t40001.md b/docs/test_cases/t40001.md index 5518d42c..7c6ed357 100644 --- a/docs/test_cases/t40001.md +++ b/docs/test_cases/t40001.md @@ -101,8 +101,8 @@ diagrams: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t40001_include", diff --git a/docs/test_cases/t40001_include.svg b/docs/test_cases/t40001_include.svg index 09cf41fb..51588101 100644 --- a/docs/test_cases/t40001_include.svg +++ b/docs/test_cases/t40001_include.svg @@ -1,6 +1,6 @@ - + @@ -9,43 +9,43 @@ - + src - + include - + lib1 - - + + t40001.cc - - + + t40001_include1.h - - + + lib1.h - + string - + vector - + yaml-cpp/yaml.h - + This is a lib1 include dir - + This is a t40001_include1.h include file diff --git a/docs/test_cases/t40002.md b/docs/test_cases/t40002.md index 2ffb654a..7b0ca6a7 100644 --- a/docs/test_cases/t40002.md +++ b/docs/test_cases/t40002.md @@ -119,8 +119,8 @@ diagrams: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t40002_include", diff --git a/docs/test_cases/t40002_include.svg b/docs/test_cases/t40002_include.svg index 8a414a32..7493a286 100644 --- a/docs/test_cases/t40002_include.svg +++ b/docs/test_cases/t40002_include.svg @@ -1,6 +1,6 @@ - + @@ -9,46 +9,46 @@ - + src - + lib1 - + lib2 - + include - + lib1 - + lib2 - - + + t40002.cc - - + + lib1.cc - - + + lib2.cc - - + + lib1.h - - + + lib2.h diff --git a/docs/test_cases/t40003.md b/docs/test_cases/t40003.md index 607b41b4..d2c808d3 100644 --- a/docs/test_cases/t40003.md +++ b/docs/test_cases/t40003.md @@ -145,8 +145,8 @@ diagrams: } ], "metadata": { - "clang_uml_version": "0.3.7-4-g43cc5cb", - "llvm_version": "Ubuntu clang version 16.0.1 (++20230328073357+42d1b276f779-1~exp1~20230328073502.65)", + "clang_uml_version": "0.3.7-34-gef753ea", + "llvm_version": "Ubuntu clang version 15.0.6", "schema_version": 1 }, "name": "t40003_include", diff --git a/docs/test_cases/t40003_include.svg b/docs/test_cases/t40003_include.svg index c5cbdd54..db46c411 100644 --- a/docs/test_cases/t40003_include.svg +++ b/docs/test_cases/t40003_include.svg @@ -1,6 +1,6 @@ - + @@ -9,66 +9,66 @@ - + src - + dependants - + dependencies - + include - + dependants - + dependencies - - + + t1.cc - - + + t2.cc - - + + t3.h - - + + t2.h - - + + t1.h - - + + t3.h - - + + t2.h - - + + t1.h - - + + t5.h