[all-commits] [llvm/llvm-project] ef739e: [clang] Change "bad" to "unsupported" in register ...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Oct 9 01:12:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef739e78ff82d15dfdb4d7817c5a2990a89cf5ea
https://github.com/llvm/llvm-project/commit/ef739e78ff82d15dfdb4d7817c5a2990a89cf5ea
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-10-09 (Wed, 09 Oct 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/asm.c
M clang/test/Sema/caret-diags-register-variable.cpp
Log Message:
-----------
[clang] Change "bad" to "unsupported" in register type error (#111550)
This is maybe a personal take but I expect "bad" to either mean:
* Allowed but not ideal, like a "bad" memory alignment might work but it
is slow.
* The tool won't allow it but is going to tell me why it didn't.
The current error doesn't elaborate so I think it's best we just say
"unsupported" instead. This is clear that the type used is not allowed
at all.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list