]> granicus.if.org Git - clang/commitdiff
Replaces __inline by __inline__ / C89 compatible
authorDiogo N. Sampaio <diogo.sampaio@arm.com>
Fri, 7 Sep 2018 09:37:27 +0000 (09:37 +0000)
committerDiogo N. Sampaio <diogo.sampaio@arm.com>
Fri, 7 Sep 2018 09:37:27 +0000 (09:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341644 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index c7ff0040f49022aef2f5f1dd00cc58051016ac6f..df14391b34315a8a55a75ee6f7f3b3751ba5f5df 100644 (file)
@@ -2409,7 +2409,7 @@ void NeonEmitter::run(raw_ostream &OS) {
     OS << "#endif\n";
   OS << "\n";
 
-  OS << "#define __ai static __inline __attribute__((__always_inline__, "
+  OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
         "__nodebug__))\n\n";
 
   SmallVector<Intrinsic *, 128> Defs;
@@ -2518,7 +2518,7 @@ void NeonEmitter::runFP16(raw_ostream &OS) {
 
   OS << "typedef __fp16 float16_t;\n";
 
-  OS << "#define __ai static __inline __attribute__((__always_inline__, "
+  OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
         "__nodebug__))\n\n";
 
   SmallVector<Intrinsic *, 128> Defs;