Mark Doxygen warnings DefaultIgnore.

llvm-svn: 159026
This commit is contained in:
Dmitri Gribenko 2012-06-22 20:19:59 +00:00
parent 84ba680c83
commit b31fe09b0f
2 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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}}