chore(Core/Misc): Change all TODO to doxygen comment (#14966)

This commit is contained in:
Kitzunu
2023-02-12 14:05:34 +01:00
committed by GitHub
parent e37e6327f0
commit f039836a2f
84 changed files with 185 additions and 185 deletions

View File

@@ -339,7 +339,7 @@ void Log::Close()
bool Log::ShouldLog(std::string const& type, LogLevel level) const
{
// TODO: Use cache to store "Type.sub1.sub2": "Type" equivalence, should
/// @todo: Use cache to store "Type.sub1.sub2": "Type" equivalence, should
// Speed up in cases where requesting "Type.sub1.sub2" but only configured
// Logger "Type"

View File

@@ -322,7 +322,7 @@ std::string Metric::FormatInfluxDBValue(float value)
std::string Metric::FormatInfluxDBTagValue(std::string const& value)
{
// ToDo: should handle '=' and ',' characters too
/// @todo: should handle '=' and ',' characters too
return boost::replace_all_copy(value, " ", "\\ ");
}

View File

@@ -95,7 +95,7 @@ private:
static std::string FormatInfluxDBTagValue(std::string const& value);
// ToDo: should format TagKey and FieldKey too in the same way as TagValue
/// @todo: should format TagKey and FieldKey too in the same way as TagValue
public:
Metric();

View File

@@ -194,7 +194,7 @@ namespace Acore::Impl::StringConvertImpl
}
};
#else
// @todo replace this once libc++ supports double args to from_chars
/// @todo replace this once libc++ supports double args to from_chars
template <typename T>
struct For<T, std::enable_if_t<std::is_floating_point_v<T>>>
{

View File

@@ -25,7 +25,7 @@
namespace advstd
{
// This workaround for std::remove_cvref_t, std::type_identify is needed for GCC 8...
// TODO: remove when we drop GCC 8 support. https://en.cppreference.com/w/cpp/compiler_support/20
/// @todo: remove when we drop GCC 8 support. https://en.cppreference.com/w/cpp/compiler_support/20
// C++20 advstd::remove_cvref_t
template <class T>
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;