Skip to content

Commit 10077f8

Browse files
committed
Explain why there is a need to remove -c from cmd
1 parent a90a2dd commit 10077f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/run-clang-tidy-on-compile-commands.py

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def __init__(self, json_entry, gcc_sysroot=None):
9090
if compiler in ['clang++', 'clang', 'gcc', 'g++']:
9191
self.valid = True
9292
self.clang_arguments = command_items[1:]
93+
# TODO remove after clang-tidy update
94+
# the bug was fixed in https://github.com/llvm/llvm-project/pull/101103
9395
if '-c' in self.clang_arguments:
9496
self.clang_arguments.remove('-c')
9597
else:

0 commit comments

Comments
 (0)