Skip to content

Commit 5884d42

Browse files
author
Diogo N. Sampaio
committed
Replaces __inline by __inline__ / C89 compatible
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341644 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent bbb410a commit 5884d42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/TableGen/NeonEmitter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ void NeonEmitter::run(raw_ostream &OS) {
24092409
OS << "#endif\n";
24102410
OS << "\n";
24112411

2412-
OS << "#define __ai static __inline __attribute__((__always_inline__, "
2412+
OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
24132413
"__nodebug__))\n\n";
24142414

24152415
SmallVector<Intrinsic *, 128> Defs;
@@ -2518,7 +2518,7 @@ void NeonEmitter::runFP16(raw_ostream &OS) {
25182518

25192519
OS << "typedef __fp16 float16_t;\n";
25202520

2521-
OS << "#define __ai static __inline __attribute__((__always_inline__, "
2521+
OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
25222522
"__nodebug__))\n\n";
25232523

25242524
SmallVector<Intrinsic *, 128> Defs;

0 commit comments

Comments
 (0)