We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f295ce commit 9ea4312Copy full SHA for 9ea4312
lldb/source/ValueObject/DILEval.cpp
@@ -287,7 +287,6 @@ Interpreter::Visit(const ArraySubscriptNode *node) {
287
if (!num_children)
288
return llvm::make_error<DILDiagnosticError>(
289
m_expr, toString(num_children.takeError()), node->GetLocation());
290
- // Verify that the 'index' is not out-of-range for the declared type.
291
if (child_idx >= *num_children) {
292
std::string message = llvm::formatv(
293
"array index {0} is not valid for \"({1}) {2}\"", child_idx,
0 commit comments