================
@@ -123,8 +167,9 @@ APValue Pointer::toAPValue() const {
         Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual}));
         Ptr = Ptr.getBase();
         continue;
+
+        llvm_unreachable("Invalid field type");
----------------
AaronBallman wrote:

Errr... given the unconditional `continue` on the line above, I agree this is 
unreachable... but does this actually help anything?

https://github.com/llvm/llvm-project/pull/84159
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to