소스 검색

Prevent clang-tidy from changing classof (#719)

Jon Meow 4 년 전
부모
커밋
18e3969ded
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      .clang-tidy

+ 4 - 0
.clang-tidy

@@ -31,3 +31,7 @@ CheckOptions:
   - { key: readability-identifier-naming.VariableCase, value: lower_case }
   - { key: readability-identifier-naming.ParameterCase, value: lower_case }
   - { key: readability-identifier-naming.ClassMemberCase, value: lower_case }
+  - {
+      key: readability-identifier-naming.MethodIgnoredRegexp,
+      value: '^classof$',
+    }