[clang][Interp] Remove wrong * operator
classifyComplexElementType used to return a std::optional, seems like this was left in a PR and not re-tested. This broke build bots, e.g. https://lab.llvm.org/buildbot/#/builders/68/builds/67930
This commit is contained in:
parent
32c00485f1
commit
dfd5a64da4
@ -342,7 +342,7 @@ bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr *CE) {
|
||||
if (!this->emitSetLocal(PT_Ptr, *SubExprOffset, CE))
|
||||
return false;
|
||||
|
||||
PrimType SourceElemT = *classifyComplexElementType(SubExpr->getType());
|
||||
PrimType SourceElemT = classifyComplexElementType(SubExpr->getType());
|
||||
QualType DestElemType =
|
||||
CE->getType()->getAs<ComplexType>()->getElementType();
|
||||
PrimType DestElemT = classifyPrim(DestElemType);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user