Mercurial > hg > CbC > CbC_llvm
diff include/llvm/Support/ConvertUTF.h @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | c2174574ed3a |
line wrap: on
line diff
--- a/include/llvm/Support/ConvertUTF.h Fri Nov 25 19:14:25 2016 +0900 +++ b/include/llvm/Support/ConvertUTF.h Fri Oct 27 17:07:41 2017 +0900 @@ -90,8 +90,8 @@ #ifndef LLVM_SUPPORT_CONVERTUTF_H #define LLVM_SUPPORT_CONVERTUTF_H +#include <cstddef> #include <string> -#include <cstddef> // Wrap everything in namespace llvm so that programs can link with llvm and // their own version of the unicode libraries. @@ -242,10 +242,10 @@ * * \sa ConvertUTF8toUTF32 */ -static inline ConversionResult convertUTF8Sequence(const UTF8 **source, - const UTF8 *sourceEnd, - UTF32 *target, - ConversionFlags flags) { +inline ConversionResult convertUTF8Sequence(const UTF8 **source, + const UTF8 *sourceEnd, + UTF32 *target, + ConversionFlags flags) { if (*source == sourceEnd) return sourceExhausted; unsigned size = getNumBytesForUTF8(**source);