[clang] 72eb630 - [Headers][X86] Enable basic Wdocumentation testing on X86 headers
    Simon Pilgrim via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Sun May  8 02:53:40 PDT 2022
    
    
  
Author: Simon Pilgrim
Date: 2022-05-08T10:53:28+01:00
New Revision: 72eb630207b812dced21fb820c6d65ecc2978c0a
URL: https://github.com/llvm/llvm-project/commit/72eb630207b812dced21fb820c6d65ecc2978c0a
DIFF: https://github.com/llvm/llvm-project/commit/72eb630207b812dced21fb820c6d65ecc2978c0a.diff
LOG: [Headers][X86] Enable basic Wdocumentation testing on X86 headers
First part of Issue #35297 - we want to enable Wdocumentation-pedantic as well, but need '\n' support first which Issue #55319 is addressing
Added: 
    
Modified: 
    clang/test/Headers/x86-intrinsics-headers-clean.cpp
Removed: 
    
################################################################################
diff  --git a/clang/test/Headers/x86-intrinsics-headers-clean.cpp b/clang/test/Headers/x86-intrinsics-headers-clean.cpp
index b8aaa6f5c3076..9af49657a1d5f 100644
--- a/clang/test/Headers/x86-intrinsics-headers-clean.cpp
+++ b/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
 
        
    
    
More information about the cfe-commits
mailing list