[clang-tools-extra] r303242 - Revert "[include-fixer] Don't throw exception when parsing unknown arguments in vim script."
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed May 17 02:24:29 PDT 2017
Author: d0k
Date: Wed May 17 04:24:28 2017
New Revision: 303242
URL: http://llvm.org/viewvc/llvm-project?rev=303242&view=rev
Log:
Revert "[include-fixer] Don't throw exception when parsing unknown arguments in vim script."
This reverts commit r302934. It's wrong, edits the wrong file and was
committed without review.
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=303242&r1=303241&r2=303242&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 Wed May 17 04:24:28 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_known_args()
+ args = parser.parse_args()
db_path = 'compile_commands.json'
More information about the cfe-commits
mailing list