Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f02a4ce

Browse files
committed
C++: Accept test changes following new *constexpr specifiers
1 parent 133e2d0 commit f02a4ce

5 files changed

Lines changed: 12 additions & 0 deletions

File tree

cpp/ql/test/library-tests/clang_ms/element.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
| file://:0:0:0:0 | const mystruct & |
6868
| file://:0:0:0:0 | declaration of 1st parameter |
6969
| file://:0:0:0:0 | declaration of 1st parameter |
70+
| file://:0:0:0:0 | declared_constexpr |
7071
| file://:0:0:0:0 | decltype(nullptr) |
7172
| file://:0:0:0:0 | definition of fp_offset |
7273
| file://:0:0:0:0 | definition of gp_offset |
@@ -86,6 +87,7 @@
8687
| file://:0:0:0:0 | implicit_int |
8788
| file://:0:0:0:0 | inline |
8889
| file://:0:0:0:0 | int |
90+
| file://:0:0:0:0 | is_constexpr |
8991
| file://:0:0:0:0 | long |
9092
| file://:0:0:0:0 | long double |
9193
| file://:0:0:0:0 | long long |

cpp/ql/test/library-tests/conditions/elements.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
| file://:0:0:0:0 | const |
4343
| file://:0:0:0:0 | const __va_list_tag |
4444
| file://:0:0:0:0 | const __va_list_tag & |
45+
| file://:0:0:0:0 | declared_constexpr |
4546
| file://:0:0:0:0 | decltype(nullptr) |
4647
| file://:0:0:0:0 | definition of <error> |
4748
| file://:0:0:0:0 | definition of fp_offset |
@@ -63,6 +64,7 @@
6364
| file://:0:0:0:0 | initializer for <error> |
6465
| file://:0:0:0:0 | inline |
6566
| file://:0:0:0:0 | int |
67+
| file://:0:0:0:0 | is_constexpr |
6668
| file://:0:0:0:0 | long |
6769
| file://:0:0:0:0 | long double |
6870
| file://:0:0:0:0 | long long |

cpp/ql/test/library-tests/specifiers2/specifiers2.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | extern |
1212
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | inline |
1313
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | inline |
14+
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | is_constexpr |
15+
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | is_constexpr |
1416
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | public |
1517
| Function | specifiers2pp.cpp:8:7:8:7 | MyClass | MyClass | public |
1618
| Function | specifiers2pp.cpp:8:7:8:7 | operator= | operator= | extern |
@@ -41,6 +43,8 @@
4143
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | inline |
4244
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | inline |
4345
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | inline |
46+
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | is_constexpr |
47+
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | is_constexpr |
4448
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | public |
4549
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | public |
4650
| Function | specifiers2pp.cpp:24:7:24:7 | MyClass2 | MyClass2 | public |

cpp/ql/test/library-tests/templates/instantiations_functions/elements.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
| file://:0:0:0:0 | declaration of 1st parameter |
8989
| file://:0:0:0:0 | declaration of 1st parameter |
9090
| file://:0:0:0:0 | declaration of 1st parameter |
91+
| file://:0:0:0:0 | declared_constexpr |
9192
| file://:0:0:0:0 | decltype(nullptr) |
9293
| file://:0:0:0:0 | definition of fp_offset |
9394
| file://:0:0:0:0 | definition of gp_offset |
@@ -111,6 +112,7 @@
111112
| file://:0:0:0:0 | int |
112113
| file://:0:0:0:0 | int & |
113114
| file://:0:0:0:0 | int * |
115+
| file://:0:0:0:0 | is_constexpr |
114116
| file://:0:0:0:0 | long |
115117
| file://:0:0:0:0 | long double |
116118
| file://:0:0:0:0 | long long |

cpp/ql/test/library-tests/unnamed/elements.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
| file://:0:0:0:0 | char16_t | Other |
3636
| file://:0:0:0:0 | char32_t | Other |
3737
| file://:0:0:0:0 | const | Other |
38+
| file://:0:0:0:0 | declared_constexpr | Other |
3839
| file://:0:0:0:0 | decltype(nullptr) | Other |
3940
| file://:0:0:0:0 | definition of fp_offset | Other |
4041
| file://:0:0:0:0 | definition of gp_offset | Other |
@@ -56,6 +57,7 @@
5657
| file://:0:0:0:0 | int | Other |
5758
| file://:0:0:0:0 | int * | Other |
5859
| file://:0:0:0:0 | int[0] | Other |
60+
| file://:0:0:0:0 | is_constexpr | Other |
5961
| file://:0:0:0:0 | long | Other |
6062
| file://:0:0:0:0 | long double | Other |
6163
| file://:0:0:0:0 | long long | Other |

0 commit comments

Comments
 (0)