mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 19:57:46 +00:00
[clang-tidy] misc-unused-using-decls (#5732)
This commit is contained in:
@@ -117,6 +117,7 @@ readonly OT_CLANG_TIDY_BUILD_OPTS=(
|
||||
readonly OT_CLANG_TIDY_CHECKS="\
|
||||
-*,\
|
||||
google-readability-casting,\
|
||||
misc-unused-using-decls,\
|
||||
modernize-use-bool-literals,\
|
||||
modernize-use-equals-default,\
|
||||
modernize-use-equals-delete,\
|
||||
|
||||
@@ -47,7 +47,6 @@ using ot::Utils::CmdLineParser::ParseAsIp6Address;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint16;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint32;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint64;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint8;
|
||||
|
||||
namespace ot {
|
||||
namespace Cli {
|
||||
|
||||
@@ -40,8 +40,6 @@
|
||||
#include "common/encoding.hpp"
|
||||
#include "utils/parse_cmdline.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
using ot::Utils::CmdLineParser::ParseAsHexString;
|
||||
using ot::Utils::CmdLineParser::ParseAsIp6Address;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint16;
|
||||
|
||||
@@ -48,9 +48,6 @@
|
||||
namespace ot {
|
||||
namespace MeshCoP {
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
using ot::Encoding::BigEndian::HostSwap32;
|
||||
|
||||
Dataset::Dataset(Type aType)
|
||||
: mUpdateTime(0)
|
||||
, mLength(0)
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "thread/thread_netif.hpp"
|
||||
#include "thread/uri_paths.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
namespace ot {
|
||||
namespace MeshCoP {
|
||||
|
||||
|
||||
@@ -49,8 +49,6 @@
|
||||
#include "thread/thread_netif.hpp"
|
||||
#include "thread/uri_paths.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
namespace ot {
|
||||
|
||||
AddressResolver::AddressResolver(Instance &aInstance)
|
||||
|
||||
@@ -52,8 +52,6 @@
|
||||
#include "thread/mle_router.hpp"
|
||||
#include "thread/thread_netif.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
namespace ot {
|
||||
|
||||
void ThreadLinkInfo::SetFrom(const Mac::RxFrame &aFrame)
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
#include "thread/uri_paths.hpp"
|
||||
#include "utils/otns.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
namespace ot {
|
||||
namespace Mle {
|
||||
|
||||
|
||||
@@ -42,8 +42,6 @@ using ot::Utils::CmdLineParser::ParseAsHexString;
|
||||
using ot::Utils::CmdLineParser::ParseAsInt16;
|
||||
using ot::Utils::CmdLineParser::ParseAsInt32;
|
||||
using ot::Utils::CmdLineParser::ParseAsInt8;
|
||||
using ot::Utils::CmdLineParser::ParseAsIp6Address;
|
||||
using ot::Utils::CmdLineParser::ParseAsIp6Prefix;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint16;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint32;
|
||||
using ot::Utils::CmdLineParser::ParseAsUint64;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "test_util.hpp"
|
||||
|
||||
using namespace ot;
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
namespace ot {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user