Files
clang-p2996/clang/lib/Sema/DeclSpec.cpp
Ulrich Weigand f73e87f53f [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
2024-04-30 11:34:34 +02:00

57 KiB