[PATCH] D67056: Add a bugprone-argument-comment option: IgnoreSingleArgument.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 06:58:13 PDT 2019


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

LG with a comment.



================
Comment at: clang-tools-extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp:28
+      IgnoreSingleArgument(
+          Options.getLocalOrGlobal("IgnoreSingleArgument", 0) != 0),
       CommentBoolLiterals(Options.getLocalOrGlobal("CommentBoolLiterals", 0) !=
----------------
Why is it a global option? Are there other checks that would need the same option? The one below also needs to be check-local.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67056/new/

https://reviews.llvm.org/D67056





More information about the cfe-commits mailing list