diff options
Diffstat (limited to 'test/Sema/warn-documentation-fixits.cpp')
| -rw-r--r-- | test/Sema/warn-documentation-fixits.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/test/Sema/warn-documentation-fixits.cpp b/test/Sema/warn-documentation-fixits.cpp index 675d86c366db..95c0e9350758 100644 --- a/test/Sema/warn-documentation-fixits.cpp +++ b/test/Sema/warn-documentation-fixits.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fcomment-block-commands=foobar -verify %s -// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fcomment-block-commands=foobar -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s +// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Wdocumentation-pedantic -fcomment-block-commands=foobar -verify %s +// RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Wdocumentation-pedantic -fcomment-block-commands=foobar -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s  // expected-warning@+1 {{parameter 'ZZZZZZZZZZ' not found in the function declaration}} expected-note@+1 {{did you mean 'a'?}}  /// \param ZZZZZZZZZZ Blah blah. @@ -67,6 +67,7 @@ int FooBar();  /// \fooba bbb IS_DOXYGEN_END  int gorf(); +// expected-warning@+1 {{unknown command tag name}}  /// \t bbb IS_DOXYGEN_END  int Bar(); @@ -88,4 +89,4 @@ int PR18051();  // CHECK: fix-it:"{{.*}}":{58:30-58:30}:" MY_ATTR_DEPRECATED"  // CHECK: fix-it:"{{.*}}":{63:6-63:11}:"return"  // CHECK: fix-it:"{{.*}}":{67:6-67:11}:"foobar" -// CHECK: fix-it:"{{.*}}":{75:6-75:12}:"endcode" +// CHECK: fix-it:"{{.*}}":{76:6-76:12}:"endcode" | 
