diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-24 17:12:06 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-24 17:12:06 +0000 |
| commit | 34610e33ae28f2268f8d9a6678d7b8f46376e788 (patch) | |
| tree | 16c5dfe2d413f9dd5108bde0b872fcd2e9de835a /llvm/lib/Support/StringRef.cpp | |
| parent | 83e60581c39c0e146249c40bde0ae6a0e27c12d6 (diff) | |
| download | bcm5719-llvm-34610e33ae28f2268f8d9a6678d7b8f46376e788.tar.gz bcm5719-llvm-34610e33ae28f2268f8d9a6678d7b8f46376e788.zip | |
X86: silence sign comparison warning
GCC 4.8 detected a signed compare [-Wsign-compare]. Add a cast for the
destination index. Add an assert to catch a potential overflow however unlikely
it may be.
llvm-svn: 213878
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions

