Skip to content

Commit

Permalink
Clang-tidy arch parameter pass fix
Browse files Browse the repository at this point in the history
When -arch is specified in the compilation commmand
'-arch ' was passed to clang-tidy which causes a
parsing error for clang tidy version 17
  • Loading branch information
dkrupp committed Dec 1, 2023
1 parent de1bd32 commit 63e1928
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def construct_analyzer_cmd(self, result_handler):

if not has_flag('-arch', analyzer_cmd) and \
self.buildaction.arch != "":
analyzer_cmd.extend(["-arch ", self.buildaction.arch])
analyzer_cmd.extend(["-arch", self.buildaction.arch])

analyzer_cmd.extend(self.buildaction.analyzer_options)

Expand Down

0 comments on commit 63e1928

Please sign in to comment.