Skip to content

Commit

Permalink
Specify namespace of VK_PRValue
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 committed Oct 7, 2024
1 parent ca12d11 commit bede7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Differentiator/ConstantFolder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ namespace clad {
Result = clad::synthesizeLiteral(
dyn_cast<EnumType>(QT)->getDecl()->getIntegerType(), C, APVal);
Expr* cast = ImplicitCastExpr::Create(
C, QT, clang::CastKind::CK_IntegralCast, Result, nullptr, VK_PRValue,
FPOptionsOverride());
C, QT, clang::CastKind::CK_IntegralCast, Result, nullptr,
clang::ExprValueKind::VK_PRValue, FPOptionsOverride());
Result = cast;
} else if (QT->isPointerType()) {
Result = clad::synthesizeLiteral(QT, C);
Expand Down

0 comments on commit bede7c8

Please sign in to comment.