diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-02-20 16:20:55 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-02-20 16:20:55 -0800 |
commit | 454f1f9711a6e357bac162c48acd1fda84caafe4 (patch) | |
tree | 72339abd358aeefe3f5633a0ea7ebb0cfcb7ada3 /cpp/src/slice2cpp/Gen.h | |
parent | minor fixes in NRVO demo (diff) | |
download | ice-454f1f9711a6e357bac162c48acd1fda84caafe4.tar.bz2 ice-454f1f9711a6e357bac162c48acd1fda84caafe4.tar.xz ice-454f1f9711a6e357bac162c48acd1fda84caafe4.zip |
bug 3374 & general metadata clean up
Diffstat (limited to 'cpp/src/slice2cpp/Gen.h')
-rw-r--r-- | cpp/src/slice2cpp/Gen.h | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h index 9cb699a205c..9f15d3fd6d9 100644 --- a/cpp/src/slice2cpp/Gen.h +++ b/cpp/src/slice2cpp/Gen.h @@ -46,17 +46,10 @@ private: // - // Get the header extension defined in the global metadata for a given file - // if there isn't defined returns a empty string + // Returns the header extension defined in the global metadata for a given file, + // or an empty string if no global metadata was found. // - std::string getHeaderExt(const std::string& file, const ModuleList& modules); - - // - // Get the header extension defined in the global metadata for the current - // compiling file. - // if there isn't defined returns a empty string - // - std::string getHeaderExt(const ModuleList& modules); + std::string getHeaderExt(const std::string& file, const UnitPtr& unit); ::IceUtilInternal::Output H; ::IceUtilInternal::Output C; @@ -78,21 +71,6 @@ private: bool _stream; bool _ice; - class GlobalIncludeVisitor : private ::IceUtil::noncopyable, public ParserVisitor - { - public: - - GlobalIncludeVisitor(::IceUtilInternal::Output&); - - virtual bool visitModuleStart(const ModulePtr&); - - private: - - ::IceUtilInternal::Output& H; - - bool _finished; - }; - class TypesVisitor : private ::IceUtil::noncopyable, public ParserVisitor { public: @@ -416,6 +394,7 @@ private: { public: + virtual bool visitUnitStart(const UnitPtr&); virtual bool visitModuleStart(const ModulePtr&); virtual void visitModuleEnd(const ModulePtr&); virtual void visitClassDecl(const ClassDeclPtr&); |