diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 54bb0ff16f89..fd2beb91cb9a 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -508,11 +508,11 @@ class ScalarExprEmitter Value *VisitSYCLUniqueStableNameExpr(SYCLUniqueStableNameExpr *E); Value *VisitOpaqueValueExpr(OpaqueValueExpr *E) { - if (E->isGLValue()) + if (E->isGLValue()) { CheckVote(E, 1); return EmitLoadOfLValue(CGF.getOrCreateOpaqueLValueMapping(E), E->getExprLoc()); - + } // Otherwise, assume the mapping is the scalar directly. return CGF.getOrCreateOpaqueRValueMapping(E).getScalarVal(); }