commit | 970e03a6bf949947d8558ffd1b6cb6563e958831 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Sep 03 01:48:03 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Sep 03 01:48:03 2009 +0000 |
tree | b7476fcee2d022cb9d75e0b82f8f53030d051535 | |
parent | d2a8775c61289947b183493f460d52628952ea53 [diff] |
Fix regression introduced in r80786 and reported in PR 4867. We should use 'dyn_cast' instead of 'cast' as the denominator value could be UnknownVal (and is not guaranteed to be a DefinedVal). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80869 91177308-0d34-0410-b5e6-96231b3b80d8