- Fixed some clang-tidy warnings
- Fixed issue with omnitrace_launch_compiler + clang-tidy
Este cometimento está contido em:
Jonathan R. Madsen criou e GitHub cometeu 2022-05-25 14:18:55 -05:00
1 ascendente ee67748042
cometimento 6af5b2a7e2
5 ficheiros modificados
+30 -18

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -1022,7 +1022,7 @@ omnitrace_finalize_hidden(void)
auto& _aitr = get_timemory_hash_aliases(i);
if(_hzero && _hitr)
{
for(auto itr : *_hitr)
for(const auto& itr : *_hitr)
_hzero->emplace(itr.first, itr.second);
}
if(_azero && _aitr)
+2 -4
Ver ficheiro
@@ -53,10 +53,8 @@ TIMEMORY_DECLARE_TYPE_TRAIT(name, typename Tp)
static constexpr auto value = NAME; \
}; \
template <> \
struct name<type_list<__VA_ARGS__>> \
{ \
static constexpr auto value = NAME; \
}; \
struct name<type_list<__VA_ARGS__>> : name<__VA_ARGS__> \
{}; \
} \
}
-1
Ver ficheiro
@@ -36,7 +36,6 @@ namespace thread_sampler
{
namespace
{
using tim::type_mutex;
using auto_lock_t = tim::auto_lock_t;
using promise_t = std::promise<void>;
std::unique_ptr<promise_t> polling_finished = {};