Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/Sema/SemaExprCXX.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 4,559 Lines • ▼ Show 20 Lines | Sema::PerformImplicitConversion(Expr *From, QualType ToType, | ||||
case ICK_Vector_Conversion: | case ICK_Vector_Conversion: | ||||
From = ImpCastExprToType(From, ToType, CK_BitCast, VK_PRValue, | From = ImpCastExprToType(From, ToType, CK_BitCast, VK_PRValue, | ||||
/*BasePath=*/nullptr, CCK) | /*BasePath=*/nullptr, CCK) | ||||
.get(); | .get(); | ||||
break; | break; | ||||
case ICK_SVE_Vector_Conversion: | case ICK_SVE_Vector_Conversion: | ||||
case ICK_RVV_Vector_Conversion: | |||||
From = ImpCastExprToType(From, ToType, CK_BitCast, VK_PRValue, | From = ImpCastExprToType(From, ToType, CK_BitCast, VK_PRValue, | ||||
/*BasePath=*/nullptr, CCK) | /*BasePath=*/nullptr, CCK) | ||||
.get(); | .get(); | ||||
break; | break; | ||||
case ICK_Vector_Splat: { | case ICK_Vector_Splat: { | ||||
// Vector splat from any arithmetic type to a vector. | // Vector splat from any arithmetic type to a vector. | ||||
Expr *Elem = prepareVectorSplat(ToType, From).get(); | Expr *Elem = prepareVectorSplat(ToType, From).get(); | ||||
▲ Show 20 Lines • Show All 4,563 Lines • Show Last 20 Lines |