Skip to content

Commit

Permalink
C++: Delete duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasVP committed Mar 18, 2024
1 parent 51db2b0 commit 0be329d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cpp/ql/test/library-tests/ir/ir/ir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2378,18 +2378,4 @@ namespace return_routine_type {

}


using size_t = decltype(sizeof(0));

template<class T>
struct remove_const { typedef T type; };

template<class T>
struct remove_const<const T> { typedef T type; };

// `remove_const_t<T>` removes any `const` specifier from `T`
template<class T>
using remove_const_t = typename remove_const<T>::type;


// semmle-extractor-options: -std=c++20 --clang

0 comments on commit 0be329d

Please sign in to comment.