clang-tidy: Relax member name check (for AI parameter variables)

This commit is contained in:
Léo Lam 2022-12-20 15:13:07 +01:00
parent e9790f83eb
commit faf29549c6
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ CheckOptions:
- key: readability-identifier-naming.MemberPrefix - key: readability-identifier-naming.MemberPrefix
value: m value: m
- key: readability-identifier-naming.MemberIgnoredRegexp - key: readability-identifier-naming.MemberIgnoredRegexp
value: ^_(.*) # Allow names that end with _[dsma] (for AI parameter variables)
value: (^_(.*)|m(.*)(_[dsma]))
# Public class/struct members # Public class/struct members
- key: readability-identifier-naming.PublicMemberCase - key: readability-identifier-naming.PublicMemberCase