Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sema: Handle C11 atomics when diagnosing out of range comparisons | Justin Bogner | 2014-07-21 | 1 | -0/+3 |
| | | | | | | | | This fixes a couple of asserts when analyzing comparisons involving C11 atomics that were uncovered by r205608 when we extended the applicability of -Wtautological-constant-out-of-range-compare. llvm-svn: 213573 | ||||
* | Fix Sema for compares with _Atomic vars. | Eli Friedman | 2013-07-08 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | 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. llvm-svn: 185857 | ||||
* | Fix handling of atomic shift operations, from Serge Pavlov. | Douglas Gregor | 2013-04-16 | 1 | -0/+47 |
llvm-svn: 179600 |