diff options
author | Doug Wyatt <doug@sonosphere.com> | 2024-10-08 01:20:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 10:20:05 +0200 |
commit | 4d218caa7716743061e8d34d61b2181c94b16440 (patch) | |
tree | fb319784bf3a9a9abeee82c77c5e8afff96e3156 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a3a253d3c7780977077dd46493917b1949c0166d (diff) | |
download | llvm-4d218caa7716743061e8d34d61b2181c94b16440.zip llvm-4d218caa7716743061e8d34d61b2181c94b16440.tar.gz llvm-4d218caa7716743061e8d34d61b2181c94b16440.tar.bz2 |
[Clang] [Sema] Effects: Correctly detect `(x ? a : b)` as nonblocking when a and b are (#111224)
Correctly detect `(x ? a : b)` as nonblocking when `a` and `b` are. Use
`FunctionEffectsRef::get` to get to the actual effect set instead of trying
to retrieve it manually via the `FunctionProtoType` as we may have to
look through function pointers etc. in some cases.
---------
Co-authored-by: Doug Wyatt <dwyatt@apple.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions