Skip to content

Commit

Permalink
Removed old commented out code
Browse files Browse the repository at this point in the history
    * XSC/be/CXX/Elements.cpp:
    * XSC/be/CXX/Inline.cpp:
    * XSCRT/XSCRT/Elements.hpp:
  • Loading branch information
jwillemsen committed Aug 30, 2024
1 parent 5cb9c43 commit d086e90
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
8 changes: 0 additions & 8 deletions XSC/be/CXX/Elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,6 @@ type_name (SemanticGraph::Instance& i, string const& nss)
}
else
{
//@@ I wonder if this is at all necessary now?
//

//if (!scope.empty ()) r += scope + L"::";

//r += fq_name (i.scope ());
//r += L"::";

r += id (i.name ());
}

Expand Down
29 changes: 0 additions & 29 deletions XSC/be/CXX/Inline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1101,22 +1101,6 @@ namespace
{
os << id (name) << "_->container (this);";
}
else
{
//string type (type_name (e));

//// sequence
////
//if (this->generate_ra_sequences_)
// os << name << "_.reserve (s." << name << "_.size ());";

//os << "{"
// << "for (" << name << "_const_iterator i (s."
// << name << "_.begin ());"
// << "i != s." << name << "_.end ();"
// << "++i) " << "add_" << name << " (*i);"
// << "}";
}
}

virtual void
Expand Down Expand Up @@ -1207,19 +1191,6 @@ namespace
//
os << id(name) << "_ = s." << id(name) << "_;"
<< std::endl;

//os << name << "_.clear ();";

//if (this->generate_ra_sequences_)
// os << name << "_.reserve (s." << name << "_.size ());";

//os << "{"
// << "for (" << name << "_const_iterator i (s."
// << name << "_.begin ());"
// << "i != s." << name << "_.end ();"
// << "++i) " << std::endl
// << "add_" << name << " (*i);"
// << "}";
}
}

Expand Down
2 changes: 0 additions & 2 deletions XSCRT/XSCRT/Elements.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ namespace XSCRT
Type&
operator= (Type const&)
{
//@@ I don't need this.
//if (map_.get ()) map_->clear (); // Flush the map.
return *this;
}

Expand Down

0 comments on commit d086e90

Please sign in to comment.