diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-09-03 01:48:03 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-09-03 01:48:03 +0000 |
commit | 970e03a6bf949947d8558ffd1b6cb6563e958831 (patch) | |
tree | b7476fcee2d022cb9d75e0b82f8f53030d051535 /lib/Driver/Tools.cpp | |
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions