diff options
author | Joe George <joe@zeroc.com> | 2019-04-08 10:33:34 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2019-04-08 10:33:34 -0400 |
commit | 7e15d842a6f9fb353de8144bc36590c91d0abe27 (patch) | |
tree | 0453dbd8c0a0c415e05a03dee4d912552ed93f8a /cpp/src/slice2swift/Main.cpp | |
parent | Fix xcode project (diff) | |
download | ice-7e15d842a6f9fb353de8144bc36590c91d0abe27.tar.bz2 ice-7e15d842a6f9fb353de8144bc36590c91d0abe27.tar.xz ice-7e15d842a6f9fb353de8144bc36590c91d0abe27.zip |
Multiple fixes
- Remove --list-generated
- Fix uncheckedCast to not return an optional
Diffstat (limited to 'cpp/src/slice2swift/Main.cpp')
-rw-r--r-- | cpp/src/slice2swift/Main.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/slice2swift/Main.cpp b/cpp/src/slice2swift/Main.cpp index 2a045087260..973b3020f47 100644 --- a/cpp/src/slice2swift/Main.cpp +++ b/cpp/src/slice2swift/Main.cpp @@ -78,7 +78,6 @@ usage(const string& n) "--depend-xml Generate dependencies in XML format.\n" "--depend-file FILE Write dependencies to FILE instead of standard output.\n" "--validate Validate command line options.\n" - "--list-generated Emit list of generated files in XML format.\n" ; } @@ -97,7 +96,6 @@ compile(const vector<string>& argv) opts.addOpt("", "depend"); opts.addOpt("", "depend-xml"); opts.addOpt("", "depend-file", IceUtilInternal::Options::NeedArg, ""); - opts.addOpt("", "list-generated"); opts.addOpt("d", "debug"); bool validate = find(argv.begin(), argv.end(), "--validate") != argv.end(); @@ -160,8 +158,6 @@ compile(const vector<string>& argv) bool debug = opts.isSet("debug"); - bool listGenerated = opts.isSet("list-generated"); - if(args.empty()) { consoleErr << argv[0] << ": error: no input file" << endl; @@ -337,11 +333,6 @@ compile(const vector<string>& argv) writeDependencies(os.str(), dependFile); } - if(listGenerated) - { - FileTracker::instance()->dumpxml(); - } - return status; } |