History log of /external/clang/test/Sema/atomic-expr.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
09bddcf8c0ce4cc2f2a18e050e971539e8a396f8 08-Jul-2013 Eli Friedman <eli.friedman@gmail.com> Fix Sema for compares with _Atomic vars.

Use UsualArithmeticConversions unconditionally in analysis of
comparisons and conditional operators: the method performs
the usual arithmetic conversions if both sides are arithmetic, and
usual unary conversions if they are not. This is just a cleanup
for conditional operators; for comparisons, it fixes the issue that
we would try to check isArithmetic() on an atomic type.

Also, fix GetExprRange() in SemaChecking.cpp so it deals with variables
of atomic type correctly.

Fixes PR15537.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185857 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/atomic-expr.c
236d9d16c9b42001085611a82d37b9d5a4f39c1f 16-Apr-2013 Douglas Gregor <dgregor@apple.com> Fix handling of atomic shift operations, from Serge Pavlov.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/atomic-expr.c