forked from OSchip/llvm-project
parent
84ba680c83
commit
b31fe09b0f
|
@ -5667,7 +5667,7 @@ def err_module_private_definition : Error<
|
|||
|
||||
let CategoryName = "Documentation Issue" in {
|
||||
def warn_not_a_doxygen_trailing_member_comment : Warning<
|
||||
"not a Doxygen trailing comment">, InGroup<Doxygen>;
|
||||
"not a Doxygen trailing comment">, InGroup<Doxygen>, DefaultIgnore;
|
||||
} // end of documentation issue category
|
||||
|
||||
} // end of sema component.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -Wdoxygen -verify %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -Wdoxygen -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
|
||||
// RUN: cp %s %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -fixit %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -Werror %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -Wdoxygen -fixit %t
|
||||
// RUN: %clang_cc1 -fsyntax-only -Wdoxygen -Werror %t
|
||||
|
||||
struct a {
|
||||
int x; //< comment // expected-warning {{not a Doxygen trailing comment}}
|
||||
|
|
Loading…
Reference in New Issue