[all-commits] [llvm/llvm-project] fcf882: [Sema][RISCV][SVE] Allow ?: to select Typedef Buil...
ShihPo Hung via All-commits
all-commits at lists.llvm.org
Fri Jun 4 00:33:47 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fcf8827a98beb1f8baea883451508d9cd91f57bc
https://github.com/llvm/llvm-project/commit/fcf8827a98beb1f8baea883451508d9cd91f57bc
Author: ShihPo Hung <shihpo.hung at sifive.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/Sema/riscv-types.c
M clang/test/Sema/sizeless-1.c
Log Message:
-----------
[Sema][RISCV][SVE] Allow ?: to select Typedef BuiltinType in C
This patch solves an error such as:
incompatible operand types ('vbool4_t' (aka '__rvv_bool4_t') and '__rvv_bool4_t')
when one of the value is a TypedefType of the other value in ?:.
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D103603
More information about the All-commits
mailing list