Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer

This commit is contained in:
Eduardo Almeida
2022-10-09 22:36:23 +00:00
parent dfc6fb9d2d
commit 95e95f8904
97 changed files with 830 additions and 649 deletions

View File

@@ -1250,7 +1250,7 @@ PrintAttributeValueWithName(std::ostream& os,
if ((name == "EmptyAttribute") || (name == "ObjectPtrContainer"))
{
// Just default constructors.
os << "(void)\n";
os << "()\n";
}
else
{
@@ -1261,8 +1261,8 @@ PrintAttributeValueWithName(std::ostream& os,
}
os << commentStop;
// <name>Value::Get (void) const
os << commentStart << functionStart << type << qualClass << "::Get (void) const\n"
// <name>Value::Get () const
os << commentStart << functionStart << type << qualClass << "::Get () const\n"
<< returns << "The " << name << " value.\n"
<< commentStop;
@@ -1350,9 +1350,9 @@ PrintMakeChecker(std::ostream& os, const std::string& name, const std::string& h
os << commentStop;
// \ingroup attribute_<name>Value
// Make<name>Checker (void)
// Make<name>Checker ()
os << commentStart << sectAttr << functionStart << "ns3::Ptr<const ns3::AttributeChecker> "
<< make << "(void)\n"
<< make << "()\n"
<< returns << "The AttributeChecker.\n"
<< seeAlso << "AttributeChecker\n"
<< commentStop;