Author: Alexandre Ganea
Date: 2025-08-20T14:10:05-04:00
New Revision: 410a1341b59984de1e58ef8162a1f36db181ad0a

URL: 
https://github.com/llvm/llvm-project/commit/410a1341b59984de1e58ef8162a1f36db181ad0a
DIFF: 
https://github.com/llvm/llvm-project/commit/410a1341b59984de1e58ef8162a1f36db181ad0a.diff

LOG: [clang][bytecode] Silence unused variable warning

Added: 
    

Modified: 
    clang/unittests/AST/ByteCode/Descriptor.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/AST/ByteCode/Descriptor.cpp 
b/clang/unittests/AST/ByteCode/Descriptor.cpp
index 397d67594f4b5..37e6f24f6b409 100644
--- a/clang/unittests/AST/ByteCode/Descriptor.cpp
+++ b/clang/unittests/AST/ByteCode/Descriptor.cpp
@@ -403,6 +403,7 @@ TEST(Descriptor, Primitives) {
     ASSERT_FALSE(PF5.isElementPastEnd());
 
     const Pointer &E1 = PF5.atIndex(0);
+    (void)E1;
     ASSERT_TRUE(PF5.isOnePastEnd());
     ASSERT_FALSE(PF5.isElementPastEnd());
   }


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

Reply via email to