Skip to content

Commit 0be329d

Browse files
committed
C++: Delete duplicated code.
1 parent 51db2b0 commit 0be329d

File tree

1 file changed

+0
-14
lines changed
  • cpp/ql/test/library-tests/ir/ir

1 file changed

+0
-14
lines changed

cpp/ql/test/library-tests/ir/ir/ir.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,18 +2378,4 @@ namespace return_routine_type {
23782378

23792379
}
23802380

2381-
2382-
using size_t = decltype(sizeof(0));
2383-
2384-
template<class T>
2385-
struct remove_const { typedef T type; };
2386-
2387-
template<class T>
2388-
struct remove_const<const T> { typedef T type; };
2389-
2390-
// `remove_const_t<T>` removes any `const` specifier from `T`
2391-
template<class T>
2392-
using remove_const_t = typename remove_const<T>::type;
2393-
2394-
23952381
// semmle-extractor-options: -std=c++20 --clang

0 commit comments

Comments
 (0)