代码拉取完成,页面将自动刷新
# Here is an explanation for why some of the checks are disabled:
#
# -modernize-use-trailing-return-type, -fuchsia-trailing-return: return a function call
# at the end of a function is normal usage.
#
# -readability-implicit-bool-conversion, -readability-implicit-bool-cast: if (_usage & BufferUsageBit::VERTEX)
# is normal usage
#
# -cppcoreguidelines-pro-type-vararg: use it in macro define, such as Log functions. May use
# template instead in future.
#
# -cppcoreguidelines-pro-type-static-cast-downcast: sub class of gfx device should use static_cast<xxx>() to
# cast to derived class.
#
# -readability-function-cognitive-complexity: it will limit function size.
#
# -cppcoreguidelines-pro-bounds-pointer-arithmetic, cppcoreguidelines-pro-bounds-array-to-pointer-decay:
# JS pass data by pointer, so it is common to use pointer arithmetic.
#
Checks: >
-*,
readability-*,
performance-*,
modernize-*,
misc-*,
portability-*,
cppcoreguidelines-*,
google-explicit-constructor,
-modernize-use-trailing-return-type,
-fuchsia-trailing-return,
-readability-implicit-bool-conversion,
-readability-implicit-bool-cast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-pro-type-static-cast-downcast,
-readability-function-cognitive-complexity,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
CheckOptions:
################## readability identifier naming ################################
# class
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMemberPrefix
value: _
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ClassConstantCasePrefix
value: _
# enum
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.ScopedEnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
# others
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.StaticConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.StructCase
value: CamelBack
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。