[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / warn-documentation-almost-trailing.c
blob9ff71a3bce3646715e2d90d222f029c8f365caf9
1 // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
3 // RUN: cp %s %t
4 // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fixit %t
5 // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Werror %t
7 struct a {
8 int x; //< comment // expected-warning {{not a Doxygen trailing comment}}
9 int y; /*< comment */ // expected-warning {{not a Doxygen trailing comment}}
12 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:10-[[@LINE-4]]:13}:"///<"
13 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:10-[[@LINE-4]]:13}:"/**<"