[PATCH] D51683: Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89

Joerg Sonnenberger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 5 08:28:54 PDT 2018


joerg added inline comments.


================
Comment at: cfe/trunk/utils/TableGen/NeonEmitter.cpp:2412
 
-  OS << "#define __ai static inline __attribute__((__always_inline__, "
+  OS << "#define __ai static __inline __attribute__((__always_inline__, "
         "__nodebug__))\n\n";
----------------
If you want to change it, at least change it properly to use __inline__.


================
Comment at: cfe/trunk/utils/TableGen/NeonEmitter.cpp:2521
 
-  OS << "#define __ai static inline __attribute__((__always_inline__, "
+  OS << "#define __ai static __inline __attribute__((__always_inline__, "
         "__nodebug__))\n\n";
----------------
Same.


Repository:
  rL LLVM

https://reviews.llvm.org/D51683





More information about the cfe-commits mailing list