]> granicus.if.org Git - llvm/commitdiff
ConvertUTF.h: Don't mark header functions as file local
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 21:29:18 +0000 (21:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 21:29:18 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316512 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ConvertUTF.h

index bd439f360216973d7b75c142e100c81032a405c0..99ae171aeabbbd3875395ffb8e208690703c7b1e 100644 (file)
@@ -242,10 +242,10 @@ bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
  *
  * \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);