]> granicus.if.org Git - clang/commit
Define Neon intrinsics as "static inline" to avoid warning. rdar://13108414
authorBob Wilson <bob.wilson@apple.com>
Fri, 12 Apr 2013 20:17:20 +0000 (20:17 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 12 Apr 2013 20:17:20 +0000 (20:17 +0000)
commit1e8058f8d90fab1b9011adf62caa52e19e61382c
tree78e9563f0f53047fb4cbfa2d121c18574dedb624
parent0c50a032f437544bd6e48e350f5e7b5056662551
Define Neon intrinsics as "static inline" to avoid warning. rdar://13108414

We had been defining Neon intrinsics as "static" with always_inline attributes.
If you use them from an extern inline function, you get a warning, e.g.:

static function 'vadd_u8' is used in an inline function with external linkage

This change simply adds the inline keyword to avoid that warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179406 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/arm-neon-types.c
utils/TableGen/NeonEmitter.cpp