We have a workaround from D128621 that makes $0 no longer being
a placeholder to conform a vscode feature. However, we have to
refine the logic as it may suppress the last parameter placeholder
for constructor of base class because not all patterns of completion
are compound statements.
This fixes clangd/clangd#1479
Since we are now passing in the entire C.SemaResult, can we remove the CompletingPattern parameter, and compute that boolean inside the function instead?