[llvm] r316512 - ConvertUTF.h: Don't mark header functions as file local

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 14:29:18 PDT 2017


Author: dblaikie
Date: Tue Oct 24 14:29:18 2017
New Revision: 316512

URL: http://llvm.org/viewvc/llvm-project?rev=316512&view=rev
Log:
ConvertUTF.h: Don't mark header functions as file local

Modified:
    llvm/trunk/include/llvm/Support/ConvertUTF.h

Modified: llvm/trunk/include/llvm/Support/ConvertUTF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ConvertUTF.h?rev=316512&r1=316511&r2=316512&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ConvertUTF.h (original)
+++ llvm/trunk/include/llvm/Support/ConvertUTF.h Tue Oct 24 14:29:18 2017
@@ -242,10 +242,10 @@ bool ConvertCodePointToUTF8(unsigned Sou
  *
  * \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);




More information about the llvm-commits mailing list