| commit | 44c2a2a26ecdd47d2933ad58a6569a0f25802d65 | [log] [tgz] |
|---|---|---|
| author | Ted Kremenek <kremenek@apple.com> | Fri Dec 21 21:59:39 2012 +0000 |
| committer | Ted Kremenek <kremenek@apple.com> | Fri Dec 21 21:59:39 2012 +0000 |
| tree | cb95abd35a447f9aa1e8787be992b74860289941 | |
| parent | 01a33f82d293cd2fa00021624be917b177a60459 [diff] |
Change checkUnsafeAssignLiteral() to use the new Sema::CheckLiteralKind(). Along the way, fix a bug in CheckLiteralKind(), previously in diagnoseObjCLiteralComparison, where we didn't ignore parentheses in boxed expressions for purpose of classification. In other words, both @42 and @(42) should be classified as numeric literals. llvm-svn: 170931