[clang-tidy] misc-unused-using-decls (#5732)

This commit is contained in:
Jonathan Hui
2020-10-29 08:36:27 -07:00
committed by GitHub
parent 713662bf80
commit 8941a367a6
10 changed files with 1 additions and 17 deletions
+1
View File
@@ -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,\
-1
View File
@@ -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 {
-2
View File
@@ -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;
-3
View File
@@ -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)
-2
View File
@@ -48,8 +48,6 @@
#include "thread/thread_netif.hpp"
#include "thread/uri_paths.hpp"
using ot::Encoding::BigEndian::HostSwap16;
namespace ot {
namespace MeshCoP {
-2
View File
@@ -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)
-2
View File
@@ -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)
-2
View File
@@ -51,8 +51,6 @@
#include "thread/uri_paths.hpp"
#include "utils/otns.hpp"
using ot::Encoding::BigEndian::HostSwap16;
namespace ot {
namespace Mle {
-2
View File
@@ -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;
-1
View File
@@ -32,7 +32,6 @@
#include "test_util.hpp"
using namespace ot;
using ot::Encoding::BigEndian::HostSwap16;
namespace ot {