mirror of
https://github.com/github/codeql.git
synced 2026-04-21 15:05:56 +02:00
C++: Delete duplicated code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user