vbyakovlcl added inline comments.
Comment at: llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td:522
@@ -521,2 +521,3 @@
def GNUZeroVariadicMacroArguments :
DiagGroup<"gnu-zero-variadic-macro-arguments">;
+def GNUVecElemSize : DiagGroup<"gnu-vec-elem-size">;
def Fallback
aaron.ballman added a comment.
In https://reviews.llvm.org/D24669#548984, @vbyakovlcl wrote:
> Clang 3.8 balances vector shift operand erroneous using CheckVectorOperands
> which converts one of operand to the type of another. In
> https://reviews.llvm.org/D21678 it was fixed by using checkVect
vbyakovlcl added a comment.
Clang 3.8 balances vector shift operand erroneous using CheckVectorOperands
which converts one of operand to the type of another. In
https://reviews.llvm.org/D21678 it was fixed by using checkVectorShift instead.
As result clang does not emit error if shift operands
aaron.ballman added a comment.
In clang 3.8, your test code already produces a diagnostic for me:
http://coliru.stacked-crooked.com/a/752a4ea34123bdae
Repository:
rL LLVM
https://reviews.llvm.org/D24669
___
cfe-commits mailing list
cfe-commits@l