diff options
| author | Timm Bäder <tbaeder@redhat.com> | 2022-08-03 17:05:07 +0200 |
|---|---|---|
| committer | Timm Bäder <tbaeder@redhat.com> | 2022-08-05 06:45:32 +0200 |
| commit | 8b74074731eeb3ff673bd7da4cd963efe78f8db6 (patch) | |
| tree | 02d8d75980ee8da717ba6f98d2d56f79f7c6d2dd /clang/lib/Basic/FileManager.cpp | |
| parent | 906e41f4e34d32c257e0c0c9ce1b56070ba11960 (diff) | |
| download | llvm-8b74074731eeb3ff673bd7da4cd963efe78f8db6.zip llvm-8b74074731eeb3ff673bd7da4cd963efe78f8db6.tar.gz llvm-8b74074731eeb3ff673bd7da4cd963efe78f8db6.tar.bz2 | |
[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
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
