[all-commits] [llvm/llvm-project] f73e87: [Clang][Sema] Do not accept "vector _Complex" for ...
Ulrich Weigand via All-commits
all-commits at lists.llvm.org
Tue Apr 30 02:34:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f73e87f53f5d8a86c29251dedc9dbd264179203a
https://github.com/llvm/llvm-project/commit/f73e87f53f5d8a86c29251dedc9dbd264179203a
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-04-30 (Tue, 30 Apr 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/DeclSpec.cpp
M clang/test/Parser/altivec.c
M clang/test/Parser/cxx-altivec.cpp
M clang/test/Sema/zvector.c
M clang/test/Sema/zvector2.c
Log Message:
-----------
[Clang][Sema] Do not accept "vector _Complex" for AltiVec/ZVector (#90467)
The AltiVec (POWER) and ZVector (IBM Z) language extensions do not
support using the "vector" keyword when the element type is a complex
type, but current code does not verify this.
Add a Sema check and diagnostic for this case.
Fixes: https://github.com/llvm/llvm-project/issues/88399
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