[PATCH] D119124: Removing unnecessary condition
harish via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 7 03:18:38 PST 2022
harishch4 created this revision.
harishch4 added a reviewer: llvm-commits.
harishch4 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Fix to https://github.com/llvm/llvm-project/issues/53545
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119124
Files:
clang/lib/Frontend/CompilerInstance.cpp
Index: clang/lib/Frontend/CompilerInstance.cpp
===================================================================
--- clang/lib/Frontend/CompilerInstance.cpp
+++ clang/lib/Frontend/CompilerInstance.cpp
@@ -715,8 +715,6 @@
Loc.FileName, Loc.Line, Loc.Column,
getFrontendOpts().CodeCompleteOpts,
llvm::outs()));
- if (!CompletionConsumer)
- return;
} else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName,
Loc.Line, Loc.Column)) {
setCodeCompletionConsumer(nullptr);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119124.406374.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220207/1c38a543/attachment.bin>
More information about the cfe-commits
mailing list