[all-commits] [llvm/llvm-project] 1d0f86: [Sema] Warn unused functions for FMV based on the ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Feb 9 13:39:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d0f86ba80543931d467d6ce3f2ad8cdde514710
https://github.com/llvm/llvm-project/commit/1d0f86ba80543931d467d6ce3f2ad8cdde514710
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M clang/lib/AST/Decl.cpp
A clang/test/SemaCXX/attr-target-mv-warn-unused.cpp
Log Message:
-----------
[Sema] Warn unused functions for FMV based on the target attribute (#81302)
The spurious -Wunused-function warning issue for `target_version` #80227
also applied to `__attribute__((target(...)))` based FMV. #81167 removed
warnings for all `target`-based FMV. This patch restores the warnings
for `__attribute__((target("default")))`.
More information about the All-commits
mailing list