diff --git a/clang-tools-extra/pseudo/lib/GLR.cpp b/clang-tools-extra/pseudo/lib/GLR.cpp index 8e6638bd3b89e5..1cee8f86e599dd 100644 --- a/clang-tools-extra/pseudo/lib/GLR.cpp +++ b/clang-tools-extra/pseudo/lib/GLR.cpp @@ -380,7 +380,7 @@ class GLRReduce { RID = A.getReduceRule(); } if (!RID.hasValue()) - return false; + return true; // no reductions available, but we've processed the head! const auto &Rule = Params.G.lookupRule(*RID); const GSS::Node *Base = Head; TempSequence.resize_for_overwrite(Rule.Size);