[all-commits] [llvm/llvm-project] 961da6: Improve diagnostics for disallowed attributes used...
Erich Keane via All-commits
all-commits at lists.llvm.org
Tue Aug 4 07:40:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 961da69d7eafe44411d5ac9719209653d196f9e2
https://github.com/llvm/llvm-project/commit/961da69d7eafe44411d5ac9719209653d196f9e2
Author: Erich Keane <erich.keane at intel.com>
Date: 2020-08-04 (Tue, 04 Aug 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/attr-cpuspecific.c
M clang/test/Sema/attr-target-mv.c
Log Message:
-----------
Improve diagnostics for disallowed attributes used with multiversioning
Since we permit using SOME attributes (at the moment, just 1) with
multiversioning, we should improve the message as it still implies that
no attributes should be combined with multiversioning.
Commit: 0a8ac91a084504929b1ef4ec1fee693455bd796d
https://github.com/llvm/llvm-project/commit/0a8ac91a084504929b1ef4ec1fee693455bd796d
Author: Erich Keane <erich.keane at intel.com>
Date: 2020-08-04 (Tue, 04 Aug 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/attr-cpuspecific.c
M clang/test/Sema/attr-target-mv.c
Log Message:
-----------
Permit nowthrow and nonnull with multiversioning.
Some shipped versions of stdlib.h use nonnull and nothrow with function
multiversioning. Support these, as they are generally harmless.
Compare: https://github.com/llvm/llvm-project/compare/8ce15f7eeb12...0a8ac91a0845
More information about the All-commits
mailing list