浏览代码

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$',
+    }