diff options
author | Jose <jose@zeroc.com> | 2017-02-03 18:10:20 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-02-03 18:10:20 +0100 |
commit | 7274ebf13c7a1ff3b587598335201c3a4e848c90 (patch) | |
tree | ad673e775b6ab68d511bcc86cf420c519b65948d /cpp/src/slice2js/Gen.h | |
parent | Connection::close fixes for C#/Java/JS (diff) | |
download | ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.tar.bz2 ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.tar.xz ice-7274ebf13c7a1ff3b587598335201c3a4e848c90.zip |
Rework warning suppression to use global meta data
Diffstat (limited to 'cpp/src/slice2js/Gen.h')
-rw-r--r-- | cpp/src/slice2js/Gen.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/cpp/src/slice2js/Gen.h b/cpp/src/slice2js/Gen.h index dc3b65f18ba..8196ba1b48b 100644 --- a/cpp/src/slice2js/Gen.h +++ b/cpp/src/slice2js/Gen.h @@ -19,7 +19,7 @@ class JsVisitor : public JsGenerator, public ParserVisitor { public: - JsVisitor(::IceUtilInternal::Output&, int); + JsVisitor(::IceUtilInternal::Output&); virtual ~JsVisitor(); protected: @@ -44,14 +44,12 @@ public: Gen(const std::string&, const std::vector<std::string>&, - const std::string&, - int); + const std::string&); Gen(const std::string&, const std::vector<std::string>&, const std::string&, - std::ostream&, - int); + std::ostream&); ~Gen(); @@ -66,7 +64,6 @@ private: std::vector<std::string> _includePaths; std::string _fileBase; bool _useStdout; - int _warningLevel; void printHeader(); @@ -74,7 +71,7 @@ private: { public: - RequireVisitor(::IceUtilInternal::Output&, std::vector<std::string>, bool, bool, int); + RequireVisitor(::IceUtilInternal::Output&, std::vector<std::string>, bool, bool); virtual bool visitClassDefStart(const ClassDefPtr&); virtual bool visitStructStart(const StructPtr&); @@ -106,7 +103,7 @@ private: { public: - TypesVisitor(::IceUtilInternal::Output&, std::vector< std::string>, bool, int); + TypesVisitor(::IceUtilInternal::Output&, std::vector< std::string>, bool); virtual bool visitModuleStart(const ModulePtr&); virtual void visitModuleEnd(const ModulePtr&); @@ -130,7 +127,7 @@ private: { public: - ExportVisitor(::IceUtilInternal::Output&, bool, bool, int); + ExportVisitor(::IceUtilInternal::Output&, bool, bool); virtual bool visitModuleStart(const ModulePtr&); private: |