Author: Timm Bäder
Date: 2023-09-09T11:07:55+02:00
New Revision: 211f7ddbe14b4486084882b02e70352b944f6286

URL: 
https://github.com/llvm/llvm-project/commit/211f7ddbe14b4486084882b02e70352b944f6286
DIFF: 
https://github.com/llvm/llvm-project/commit/211f7ddbe14b4486084882b02e70352b944f6286.diff

LOG: [clang][Interp][NFC] Tiny indentation fix

Added: 
    

Modified: 
    clang/lib/AST/Interp/ByteCodeExprGen.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/ByteCodeExprGen.cpp 
b/clang/lib/AST/Interp/ByteCodeExprGen.cpp
index 17cf15d8676eb86..62575ce0d84b8f8 100644
--- a/clang/lib/AST/Interp/ByteCodeExprGen.cpp
+++ b/clang/lib/AST/Interp/ByteCodeExprGen.cpp
@@ -167,8 +167,8 @@ bool ByteCodeExprGen<Emitter>::VisitCastExpr(const CastExpr 
*CE) {
 
   case CK_IntegralToBoolean:
   case CK_IntegralCast: {
-      if (DiscardResult)
-        return this->discard(SubExpr);
+    if (DiscardResult)
+      return this->discard(SubExpr);
     std::optional<PrimType> FromT = classify(SubExpr->getType());
     std::optional<PrimType> ToT = classify(CE->getType());
     if (!FromT || !ToT)


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to