Skip to content

Commit 571fb55

Browse files
committed
Add comment to _wbinvd function to avoid -Wdocumentation error
1 parent 4e07b18 commit 571fb55

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

clang/lib/Headers/ia32intrin.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,13 @@ __rdtscp(unsigned int *__A) {
533533
/// \see __rdpmc
534534
#define _rdpmc(A) __rdpmc(A)
535535

536-
;
537-
536+
/// Invalidates the contents of the processor's internal caches.
537+
/// This function writes back and invalidates all modified cache lines in
538+
/// the processor.
539+
///
540+
/// \headerfile <x86intrin.h>
541+
///
542+
/// This intrinsic corresponds to the \c WBINVD instruction.
538543
static __inline__ void __DEFAULT_FN_ATTRS
539544
_wbinvd(void) {
540545
__builtin_ia32_wbinvd();

0 commit comments

Comments
 (0)