diff options
| author | Alexander Kornienko <alexfh@google.com> | 2019-09-05 14:48:31 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2019-09-05 14:48:31 +0000 |
| commit | 30424e4268e20953ac47d25d5a3ebc0895752cee (patch) | |
| tree | bf7177b10a22ce920ad04e5280903fefe7372145 /clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp | |
| parent | 42443e50ceddcec000631a951d4b38f61774f7e9 (diff) | |
| download | bcm5719-llvm-30424e4268e20953ac47d25d5a3ebc0895752cee.tar.gz bcm5719-llvm-30424e4268e20953ac47d25d5a3ebc0895752cee.zip | |
[clang-tidy] Make most ArgumentCommentCheck options local, as they should be
llvm-svn: 371076
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp b/clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp index 077723e882e..ea726563596 100644 --- a/clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp +++ b/clang-tools-extra/test/clang-tidy/bugprone-argument-comment-ignore-single-argument.cpp @@ -1,5 +1,13 @@ // RUN: %check_clang_tidy %s bugprone-argument-comment %t -- \ -// RUN: -config="{CheckOptions: [{key: bugprone-argument-comment.IgnoreSingleArgument, value: 1}, {key: CommentBoolLiterals, value: 1},{key: CommentIntegerLiterals, value: 1}, {key: CommentFloatLiterals, value: 1}, {key: CommentUserDefinedLiterals, value: 1}, {key: CommentStringLiterals, value: 1}, {key: CommentNullPtrs, value: 1}, {key: CommentCharacterLiterals, value: 1}]}" -- +// RUN: -config="{CheckOptions: [ \ +// RUN: {key: bugprone-argument-comment.IgnoreSingleArgument, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentBoolLiterals, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentIntegerLiterals, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentFloatLiterals, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentUserDefinedLiterals, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentStringLiterals, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentNullPtrs, value: 1}, \ +// RUN: {key: bugprone-argument-comment.CommentCharacterLiterals, value: 1}]}" -- struct A { void foo(bool abc); |

