[PATCH] D131070: [clang][sema] Fix collectConjunctionTerms()
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 4 04:33:55 PDT 2022
tbaeder updated this revision to Diff 449930.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131070/new/
https://reviews.llvm.org/D131070
Files:
clang/lib/Sema/SemaTemplate.cpp
Index: clang/lib/Sema/SemaTemplate.cpp
===================================================================
--- clang/lib/Sema/SemaTemplate.cpp
+++ clang/lib/Sema/SemaTemplate.cpp
@@ -3585,9 +3585,8 @@
if (BinOp->getOpcode() == BO_LAnd) {
collectConjunctionTerms(BinOp->getLHS(), Terms);
collectConjunctionTerms(BinOp->getRHS(), Terms);
+ return;
}
-
- return;
}
Terms.push_back(Clause);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131070.449930.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220804/7578efdd/attachment-0001.bin>
More information about the cfe-commits
mailing list