diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-04-21 22:54:21 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-04-21 22:54:21 +0000 |
commit | 89dd1dd2782de71d56c512e44b9dfda2f7b95351 (patch) | |
tree | f3c6fcdb7f4193fffb1f7770428709c9f96f7f33 /libcxx/src | |
parent | 3d42a86f9dbb167f7e6d95b741fb523827bc6ba9 (diff) | |
download | bcm5719-llvm-89dd1dd2782de71d56c512e44b9dfda2f7b95351.tar.gz bcm5719-llvm-89dd1dd2782de71d56c512e44b9dfda2f7b95351.zip |
Fix most GCC attribute ignored warnings
llvm-svn: 267074
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/locale.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 666f2776782..bc2427bfce9 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -2825,10 +2825,10 @@ ucs4_to_utf16le(const uint32_t* frm, const uint32_t* frm_end, const uint32_t*& f to_nxt = to; if (mode & generate_header) { - if (to_end-to_nxt < 2) + if (to_end - to_nxt < 2) return codecvt_base::partial; - *to_nxt++ = static_cast<uint8_t>(0xFF); - *to_nxt++ = static_cast<uint8_t>(0xFE); + *to_nxt++ = static_cast<uint8_t>(0xFF); + *to_nxt++ = static_cast<uint8_t>(0xFE); } for (; frm_nxt < frm_end; ++frm_nxt) { |