[PATCH] D119124: Removing unnecessary condition
harish via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 7 05:49:08 PST 2022
harishch4 updated this revision to Diff 406412.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119124/new/
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,6 +715,7 @@
Loc.FileName, Loc.Line, Loc.Column,
getFrontendOpts().CodeCompleteOpts,
llvm::outs()));
+ return;
} else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName,
Loc.Line, Loc.Column)) {
setCodeCompletionConsumer(nullptr);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119124.406412.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220207/06b798c6/attachment.bin>
More information about the llvm-commits
mailing list