This patch moves a (weird) condition to a more suitable place on createCodeCompletionConsumer
Fixes llvm#53545
Differential D126524
[CompilerInstance] Fix weird condition on `createCodeCompletionConsumer` JohnTitor on May 27 2022, 1:43 AM. Authored by
Details This patch moves a (weird) condition to a more suitable place on createCodeCompletionConsumer Fixes llvm#53545
Diff Detail
Event TimelineComment Actions Nice. This is the patch that makes the condition obsolete: D60871. You might also remove the else, since the first if now has an unconditional early return. Comment Actions The differential I linked doesn't contain the right diff. Here's the commit I meant to point out: 3a75330f573a31c7e0f7e27c5d34501c293673a5. |