summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/lwpintrin.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-03 22:05:19 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-03 22:05:19 +0000
commitb41c6b854bb802d8287046894b1d57efdaa52d33 (patch)
tree32ced84b15b3c6294478da3d2f00269b6c8a5560 /clang/lib/Headers/lwpintrin.h
parent00d8c1abf0aeeb29b4f0ced7a41ecfdc729154dd (diff)
downloadbcm5719-llvm-b41c6b854bb802d8287046894b1d57efdaa52d33.tar.gz
bcm5719-llvm-b41c6b854bb802d8287046894b1d57efdaa52d33.zip
[X86] Explicitly make the arguments to __slwpcb intrinsic 'void'.
This is the correct way to say it takes no arguments in C. llvm-svn: 333855
Diffstat (limited to 'clang/lib/Headers/lwpintrin.h')
-rw-r--r--clang/lib/Headers/lwpintrin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Headers/lwpintrin.h b/clang/lib/Headers/lwpintrin.h
index 5877ae8b3b8..3455575cced 100644
--- a/clang/lib/Headers/lwpintrin.h
+++ b/clang/lib/Headers/lwpintrin.h
@@ -58,7 +58,7 @@ __llwpcb (void *__addr)
/// Address to the current Lightweight Profiling Control Block (LWPCB).
/// If LWP is not currently enabled, returns NULL.
static __inline__ void* __DEFAULT_FN_ATTRS
-__slwpcb ()
+__slwpcb (void)
{
return __builtin_ia32_slwpcb();
}
OpenPOWER on IntegriCloud