[all-commits] [llvm/llvm-project] 8b7407: [clang][sema] Fix collectConjunctionTerms()
Timm Bäder via All-commits
all-commits at lists.llvm.org
Thu Aug 4 21:48:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b74074731eeb3ff673bd7da4cd963efe78f8db6
https://github.com/llvm/llvm-project/commit/8b74074731eeb3ff673bd7da4cd963efe78f8db6
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[clang][sema] Fix collectConjunctionTerms()
Consider:
A == 5 && A != 5
IfA is 5, the old collectConjunctionTerms() would call itself again for
the LHS (which it ignores), then the RHS (which it also ignores) and
then just return without ever adding anything to the Terms array.
Differential Revision: https://reviews.llvm.org/D131070
More information about the All-commits
mailing list