commit | b1ea510de0ef4ebfbbe8fa7668ab1635410fc080 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Dec 21 08:04:20 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Dec 21 08:04:20 2012 +0000 |
tree | 73b20094c98818538ef99c531c4d66ec70eec9a8 | |
parent | 0dbe2fb7758fe64568206b5bc0f1c5b106b9c806 [diff] |
Refactor checkUnsafeAssigns() to avoid code duplication with while loop. This is just a minor bit of refactoring, but it is nice cleanup for the subsequent patch that adds warning support for assigning literals to weak variables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170863 91177308-0d34-0410-b5e6-96231b3b80d8