diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-27 20:39:34 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-27 20:39:34 +0000 |
| commit | fb58faf29e10a4f798f661a317ed5f0992284842 (patch) | |
| tree | 215efc63ed808aaaf10c541aa2a08d0b517e22b7 /clang/lib/Basic/FileManager.cpp | |
| parent | 570c357ded427b55c35ddfe4b5ff73e221ea1305 (diff) | |
| download | llvm-fb58faf29e10a4f798f661a317ed5f0992284842.zip llvm-fb58faf29e10a4f798f661a317ed5f0992284842.tar.gz llvm-fb58faf29e10a4f798f661a317ed5f0992284842.tar.bz2 | |
Add an assertion to the form of SelectionDAG::getConstant that takes
a uint64_t to verify that the value is in range for the given type,
to help catch accidental overflow. Fix a few places that relied on
getConstant implicitly truncating the value.
llvm-svn: 63128
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
