diff options
author | Anton Rydahl <44206479+AntonRydahl@users.noreply.github.com> | 2023-11-23 10:55:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 13:55:55 -0500 |
commit | aea7929b0a04c5ea0ac85aba2b85fb58c718626f (patch) | |
tree | 856a3b69cf4852fe8bb9abc56f79566d7e595c93 /clang/lib/Interpreter/Interpreter.cpp | |
parent | 07d799f08fec4cb9ceb14a43cc134dee7f1621fc (diff) | |
download | llvm-aea7929b0a04c5ea0ac85aba2b85fb58c718626f.zip llvm-aea7929b0a04c5ea0ac85aba2b85fb58c718626f.tar.gz llvm-aea7929b0a04c5ea0ac85aba2b85fb58c718626f.tar.bz2 |
[libc++] Unify __is_trivial_equality_predicate and __is_trivial_plus_operation into __desugars_to (#68642)
When working on an OpenMP offloading backend for standard parallel
algorithms (https://github.com/llvm/llvm-project/pull/66968) we noticed
the need of a generalization of `__is_trivial_plus_operation`. This patch
merges `__is_trivial_equality_predicate` and `__is_trivial_plus_operation`
into `__desugars_to`, and in the future we might extend the latter to support
other binary operations as well.
Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions