Skip to content

Commit

Permalink
clang-tidy: Relax member name check (for AI parameter variables)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoetlino committed Dec 20, 2022
1 parent e9790f8 commit faf2954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ CheckOptions:
- key: readability-identifier-naming.MemberPrefix
value: m
- key: readability-identifier-naming.MemberIgnoredRegexp
value: ^_(.*)
# Allow names that end with _[dsma] (for AI parameter variables)
value: (^_(.*)|m(.*)(_[dsma]))

# Public class/struct members
- key: readability-identifier-naming.PublicMemberCase
Expand Down

0 comments on commit faf2954

Please sign in to comment.