diff options
author | Andrey Ali Khan Bolshakov <bolsh.andrey@yandex.ru> | 2024-04-19 03:04:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 17:04:26 -0700 |
commit | 949e66baf1c5d97dc60a243d9b66df5216255343 (patch) | |
tree | c6744c75637262b66531ec5bb8797ac7916fdf8b /clang/lib/Sema/SemaModule.cpp | |
parent | 89f8ba2855789c6c8b445af0e1aa82d5f5cf940a (diff) | |
download | llvm-949e66baf1c5d97dc60a243d9b66df5216255343.zip llvm-949e66baf1c5d97dc60a243d9b66df5216255343.tar.gz llvm-949e66baf1c5d97dc60a243d9b66df5216255343.tar.bz2 |
[Coverage][NFC] Avoid visiting non-unique `OpaqueValueExpr` (#88910)
Only unique `OpaqueValueExpr`s should be handled in the mapping builder,
as
[discussed](https://github.com/llvm/llvm-project/pull/85837#discussion_r1542056451)
in #85837. However, `getCond()` returns non-unique `OpaqueValueExpr` for
`BinaryConditionalOperator` (because it is also used as the "true"
branch expression). Use `getCommon()` instead so as to bypass the
`OpaqueValueExpr`.
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions