- Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Open
Copy link
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
Description
TL;DR: Add bugprone-argument-comment.CommentTemplate: <regex> configuration option.
It would be nice if users could have more control over the comment format that clang-tidy considers to be an argument comment. Common use-cases seen in the wild include:
/* parameter_name */ argarg /* parameter_name *//* parameter_name = */ arg
Currently only (exactly) /*paramter_name=*/ works, so the above are not checked for correctness.
Metadata
Metadata
Assignees
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature