Skip to content

Commit

Permalink
[Headers][X86] Enable basic Wdocumentation testing on X86 headers
Browse files Browse the repository at this point in the history
First part of Issue #35297 - we want to enable Wdocumentation-pedantic as well, but need '\n' support first which Issue #55319 is addressing
  • Loading branch information
RKSimon committed May 8, 2022
1 parent 6b3a111 commit 72eb630
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/test/Headers/x86-intrinsics-headers-clean.cpp
@@ -1,12 +1,12 @@
// Make sure the intrinsic headers compile cleanly with no warnings or errors.

// RUN: %clang_cc1 -ffreestanding -triple i386-unknown-unknown \
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual \
// RUN: -fsyntax-only -flax-vector-conversions=none -x c++ -verify %s
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation \
// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s

// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown \
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual \
// RUN: -fsyntax-only -flax-vector-conversions=none -x c++ -verify %s
// RUN: -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation \
// RUN: -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify %s

// expected-no-diagnostics

Expand Down

0 comments on commit 72eb630

Please sign in to comment.