Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Take --conlyopt into consideration #77

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Conversation

yuyawk
Copy link
Contributor

@yuyawk yuyawk commented Oct 14, 2024

Recent C/C++ compilation in Bazel supports the command-line option --conlyopt to specify the options only applied for C (not for C++).

This PR adds the command-line flags generated by the corresponding cpp fragment conlyopts. For backward compatibility, this change is guarded by hasattr.

clang_tidy/clang_tidy.bzl Outdated Show resolved Hide resolved
@erenon erenon merged commit f23d924 into erenon:master Oct 14, 2024
1 check passed
@erenon
Copy link
Owner

erenon commented Oct 14, 2024

thanks! merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants