From dd45753771c4afb13c85ad83683bfa414321a4b6 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 30 Aug 2024 12:13:32 +0200 Subject: [PATCH] Removed commented out code * XSC/be/CXX/Inline.cpp: --- XSC/be/CXX/Inline.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/XSC/be/CXX/Inline.cpp b/XSC/be/CXX/Inline.cpp index 1e5df5e..803bb65 100644 --- a/XSC/be/CXX/Inline.cpp +++ b/XSC/be/CXX/Inline.cpp @@ -145,14 +145,6 @@ namespace << "{" << "return *" << id (name) << "_;" << "}"; - /* Lets just have one mutator - os << i - << type << "& " << scope << "::" << endl - << id (name) << " ()" - << "{" - << "return *" << id (name) << "_;" - << "}"; - */ if ((idref_ptr != std::string::npos) && (this->cppmode_ == CPPMODE::CPP03)) { os << i @@ -275,7 +267,6 @@ namespace os << "}"; } -// if (!this->cpp11_) { // count_typename // @@ -460,12 +451,6 @@ namespace names_.node_traverser (*this); } - //virtual void - //traverse (SemanticGraph::Type& t) - //{ - // os << comma () << type_name (t) << " const& b__"; - //} - virtual void traverse (SemanticGraph::Enumeration& e) { @@ -730,12 +715,6 @@ namespace { } - //virtual void - //traverse (SemanticGraph::Type&) - //{ - // os << "Base (b__)," << endl; - //} - virtual void traverse (SemanticGraph::Enumeration&) { @@ -1138,14 +1117,6 @@ namespace { } - //virtual void - //traverse (SemanticGraph::Type&) - //{ - // os << "static_cast< Base& > (*this) = " - // << "static_cast< Base const& > (s);" - // << endl; - //} - virtual void traverse (SemanticGraph::Element& e) {