Author: hokein Date: Fri May 12 14:01:02 2017 New Revision: 302934 URL: http://llvm.org/viewvc/llvm-project?rev=302934&view=rev Log: [include-fixer] Don't throw exception when parsing unknown arguments in vim script.
Modified: clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/run-find-all-symbols.py Modified: clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/run-find-all-symbols.py URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/run-find-all-symbols.py?rev=302934&r1=302933&r2=302934&view=diff ============================================================================== --- clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/run-find-all-symbols.py (original) +++ clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/run-find-all-symbols.py Fri May 12 14:01:02 2017 @@ -75,7 +75,7 @@ def main(): help='path used to read a compilation database.') parser.add_argument('-saving-path', default='./find_all_symbols_db.yaml', help='result saving path') - args = parser.parse_args() + args, _ = parser.parse_known_args() db_path = 'compile_commands.json' _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits