Обновление
This commit is contained in:
parent
85bdea903a
commit
defe7367cc
16
.clang-tidy
16
.clang-tidy
@ -91,6 +91,8 @@ CheckOptions:
|
|||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.FunctionSuffix
|
- key: readability-identifier-naming.FunctionSuffix
|
||||||
value: ''
|
value: ''
|
||||||
|
- key: readability-identifier-naming.GetConfigPerFile
|
||||||
|
value: true
|
||||||
- key: readability-identifier-naming.GlobalConstantCase
|
- key: readability-identifier-naming.GlobalConstantCase
|
||||||
value: UPPER_CASE
|
value: UPPER_CASE
|
||||||
- key: readability-identifier-naming.GlobalConstantPrefix
|
- key: readability-identifier-naming.GlobalConstantPrefix
|
||||||
@ -121,6 +123,8 @@ CheckOptions:
|
|||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.GlobalVariableSuffix
|
- key: readability-identifier-naming.GlobalVariableSuffix
|
||||||
value: ''
|
value: ''
|
||||||
|
- key: readability-identifier-naming.IgnoreMainLikeFunctions
|
||||||
|
value: true
|
||||||
- key: readability-identifier-naming.InlineNamespaceCase
|
- key: readability-identifier-naming.InlineNamespaceCase
|
||||||
value: lower_case
|
value: lower_case
|
||||||
- key: readability-identifier-naming.InlineNamespacePrefix
|
- key: readability-identifier-naming.InlineNamespacePrefix
|
||||||
@ -151,6 +155,12 @@ CheckOptions:
|
|||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.LocalVariableSuffix
|
- key: readability-identifier-naming.LocalVariableSuffix
|
||||||
value: ''
|
value: ''
|
||||||
|
- key: readability-identifier-naming.MacroDefinitionCase
|
||||||
|
value: UPPER_CASE
|
||||||
|
- key: readability-identifier-naming.MacroDefinitionPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.MacroDefinitionSuffix
|
||||||
|
value: ''
|
||||||
- key: readability-identifier-naming.MemberCase
|
- key: readability-identifier-naming.MemberCase
|
||||||
value: UPPER_CASE
|
value: UPPER_CASE
|
||||||
- key: readability-identifier-naming.MemberPrefix
|
- key: readability-identifier-naming.MemberPrefix
|
||||||
@ -223,6 +233,12 @@ CheckOptions:
|
|||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.PublicMethodSuffix
|
- key: readability-identifier-naming.PublicMethodSuffix
|
||||||
value: ''
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ScopedEnumConstantCase
|
||||||
|
value: CamelCase
|
||||||
|
- key: readability-identifier-naming.ScopedEnumConstantPrefix
|
||||||
|
value: ''
|
||||||
|
- key: readability-identifier-naming.ScopedEnumConstantSuffix
|
||||||
|
value: ''
|
||||||
- key: readability-identifier-naming.StaticConstantCase
|
- key: readability-identifier-naming.StaticConstantCase
|
||||||
value: camelBack
|
value: camelBack
|
||||||
- key: readability-identifier-naming.StaticConstantPrefix
|
- key: readability-identifier-naming.StaticConstantPrefix
|
||||||
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
compile_commands.json
|
||||||
|
|
2
Makefile
2
Makefile
@ -71,5 +71,5 @@ res: $(RESULTS)
|
|||||||
$(CXX) $(CXXFLAGS) -c $< -o /dev/null
|
$(CXX) $(CXXFLAGS) -c $< -o /dev/null
|
||||||
|
|
||||||
%.txt : %.cpp
|
%.txt : %.cpp
|
||||||
clang-tidy-8 -quiet $<
|
clang-tidy-12 -quiet $<
|
||||||
|
|
||||||
|
@ -1,271 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_LocalVariable.cpp",
|
|
||||||
"file": "test_LocalVariable.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Struct.cpp",
|
|
||||||
"file": "test_Struct.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_GlobalConstant.cpp",
|
|
||||||
"file": "test_GlobalConstant.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_VirtualMethod.cpp",
|
|
||||||
"file": "test_VirtualMethod.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Union.cpp",
|
|
||||||
"file": "test_Union.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_PointerParameter.cpp",
|
|
||||||
"file": "test_PointerParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ProtectedMethod.cpp",
|
|
||||||
"file": "test_ProtectedMethod.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_TypeTemplateParameter.cpp",
|
|
||||||
"file": "test_TypeTemplateParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_StaticConstant.cpp",
|
|
||||||
"file": "test_StaticConstant.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ParameterPack.cpp",
|
|
||||||
"file": "test_ParameterPack.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_EnumConstant.cpp",
|
|
||||||
"file": "test_EnumConstant.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Function.cpp",
|
|
||||||
"file": "test_Function.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ValueTemplateParameter.cpp",
|
|
||||||
"file": "test_ValueTemplateParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ClassMember.cpp",
|
|
||||||
"file": "test_ClassMember.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Typedef.cpp",
|
|
||||||
"file": "test_Typedef.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstexprVariable.cpp",
|
|
||||||
"file": "test_ConstexprVariable.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstantMember.cpp",
|
|
||||||
"file": "test_ConstantMember.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstantParameter.cpp",
|
|
||||||
"file": "test_ConstantParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ClassMethod.cpp",
|
|
||||||
"file": "test_ClassMethod.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ProtectedMember.cpp",
|
|
||||||
"file": "test_ProtectedMember.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ClassConstant.cpp",
|
|
||||||
"file": "test_ClassConstant.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_PrivateMethod.cpp",
|
|
||||||
"file": "test_PrivateMethod.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_InlineNamespace.cpp",
|
|
||||||
"file": "test_InlineNamespace.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Class.cpp",
|
|
||||||
"file": "test_Class.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_PublicMember.cpp",
|
|
||||||
"file": "test_PublicMember.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_TemplateTemplateParameter.cpp",
|
|
||||||
"file": "test_TemplateTemplateParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_GlobalPointer.cpp",
|
|
||||||
"file": "test_GlobalPointer.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_GlobalFunction.cpp",
|
|
||||||
"file": "test_GlobalFunction.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Enum.cpp",
|
|
||||||
"file": "test_Enum.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_PublicMethod.cpp",
|
|
||||||
"file": "test_PublicMethod.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_LocalPointer.cpp",
|
|
||||||
"file": "test_LocalPointer.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Namespace.cpp",
|
|
||||||
"file": "test_Namespace.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_AbstractClass.cpp",
|
|
||||||
"file": "test_AbstractClass.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_TemplateParameter.cpp",
|
|
||||||
"file": "test_TemplateParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_TypeAlias.cpp",
|
|
||||||
"file": "test_TypeAlias.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstantPointerParameter.cpp",
|
|
||||||
"file": "test_ConstantPointerParameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_Parameter.cpp",
|
|
||||||
"file": "test_Parameter.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstexprFunction.cpp",
|
|
||||||
"file": "test_ConstexprFunction.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_LocalConstantPointer.cpp",
|
|
||||||
"file": "test_LocalConstantPointer.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_LocalConstant.cpp",
|
|
||||||
"file": "test_LocalConstant.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_StaticVariable.cpp",
|
|
||||||
"file": "test_StaticVariable.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_GlobalConstantPointer.cpp",
|
|
||||||
"file": "test_GlobalConstantPointer.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_GlobalVariable.cpp",
|
|
||||||
"file": "test_GlobalVariable.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_PrivateMember.cpp",
|
|
||||||
"file": "test_PrivateMember.cpp"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"directory": "/home/a/work/proj/doc/clang-tidy2",
|
|
||||||
"command": "g++ -c -o /dev/null test_ConstexprMethod.cpp",
|
|
||||||
"file": "test_ConstexprMethod.cpp"
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user