Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user