diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-04-12 17:51:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-04-12 17:51:55 +0000 |
commit | f7ecc3016e6309a092493070d071489516b273c0 (patch) | |
tree | f17c06eb66e44d1a8ac8c9e43fabe528ff3ae719 /lib/CodeGen/CGExpr.cpp | |
parent | 99850388609234e01901e316bca6ca6ffbd09337 (diff) |
Compute standard conversion sequences for conversions to atomic
types. The second and third conversions in the sequence are based on
the conversion for the underlying type, so that we get sensible
overloading behavior for, e.g., _Atomic(int) vs. _Atomic(float).
As part of this, actually implement the lvalue-to-rvalue conversion
for atomic types. There is probably a pile of code in SemaExpr that
can now be deleted, but I haven't tracked it down yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions