-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[FMV] -Wunused-function incorrectly complains about versioned static functions #80227
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
Labels
backend:AArch64
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
Comments
cc @ilinpv |
@llvm/issue-subscribers-backend-aarch64 Author: Jon Roelofs (jroelofs)
https://clang.godbolt.org/z/9G6YT4eYc
|
jroelofs
added a commit
to jroelofs/llvm-project
that referenced
this issue
Feb 8, 2024
…nctions We should only warn if the default version is the one that is unused. Fixes: llvm#80227
jroelofs
added a commit
to swiftlang/llvm-project
that referenced
this issue
Feb 9, 2024
…'s (llvm#81167) We should only warn if the default version is the one that is unused. Fixes: llvm#80227
jroelofs
pushed a commit
to swiftlang/llvm-project
that referenced
this issue
Feb 9, 2024
…lvm#81302) The spurious -Wunused-function warning issue for `target_version` llvm#80227 also applied to `__attribute__((target(...)))` based FMV. llvm#81167 removed warnings for all `target`-based FMV. This patch restores the warnings for `__attribute__((target("default")))`.
jroelofs
added a commit
to swiftlang/llvm-project
that referenced
this issue
Feb 11, 2024
…'s (llvm#81167) We should only warn if the default version is the one that is unused. Fixes: llvm#80227
jroelofs
pushed a commit
to swiftlang/llvm-project
that referenced
this issue
Feb 11, 2024
…lvm#81302) The spurious -Wunused-function warning issue for `target_version` llvm#80227 also applied to `__attribute__((target(...)))` based FMV. llvm#81167 removed warnings for all `target`-based FMV. This patch restores the warnings for `__attribute__((target("default")))`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend:AArch64
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
https://clang.godbolt.org/z/9G6YT4eYc
--rtlib=compiler-rt -Werror=unused-function -Wall
The text was updated successfully, but these errors were encountered: