[all-commits] [llvm/llvm-project] 9fbf99: Reject operations between vectors and enum types.
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon May 4 13:11:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9fbf9989a2bf0edfbe1b482de470dcccd1108e24
https://github.com/llvm/llvm-project/commit/9fbf9989a2bf0edfbe1b482de470dcccd1108e24
Author: Erich Keane <erich.keane at intel.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaCXX/vector-conditional.cpp
M clang/test/SemaCXX/vector.cpp
Log Message:
-----------
Reject operations between vectors and enum types.
There are some lookup oddities with these as reported in PR45780, and
GCC doesn't support these behaviors at all. To be more consistent with
GCC and prevent the crashes caused by our lookup issues, nip the problem
in the bud and prohibit enums here.
More information about the All-commits
mailing list