[all-commits] [llvm/llvm-project] c9edf8: Error instead of assert when making a _BitInt vector
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Aug 3 11:06:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9edf843fcf954132271214445857498fb47bb72
https://github.com/llvm/llvm-project/commit/c9edf843fcf954132271214445857498fb47bb72
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/ext-int.cpp
Log Message:
-----------
Error instead of assert when making a _BitInt vector
We already correctly rejected:
typedef __attribute__((vector_size(16))) _BitInt(4) Ty;
but we would assert with:
typedef __attribute__((ext_vector_type(4))) _BitInt(4) Ty;
Now we issue the same error in both cases.
More information about the All-commits
mailing list