[all-commits] [llvm/llvm-project] 97b2f2: Change error for storage-class to mean linkage, fi...
Erich Keane via All-commits
all-commits at lists.llvm.org
Wed Sep 22 10:51:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97b2f20a446e54f4354d8f950dfab62c37e6ddf4
https://github.com/llvm/llvm-project/commit/97b2f20a446e54f4354d8f950dfab62c37e6ddf4
Author: Erich Keane <erich.keane at intel.com>
Date: 2021-09-22 (Wed, 22 Sep 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/attr-cpuspecific.cpp
M clang/test/SemaCXX/attr-target-mv.cpp
Log Message:
-----------
Change error for storage-class to mean linkage, fix lang-linkage diag
Allow multiversioning declarations to match when the actual formal
linkage matches, not just when the storage class is identical.
Additionally, change the ambiguous 'linkage' mismatch to be more
specific and say 'language linkage'.
More information about the All-commits
mailing list