Начало
This commit is contained in:
		
							
								
								
									
										299
									
								
								.clang-tidy
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										299
									
								
								.clang-tidy
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,299 @@
 | 
			
		||||
---
 | 
			
		||||
Checks:          '-*,readability-identifier-naming'
 | 
			
		||||
CheckOptions:
 | 
			
		||||
  - key: readability-identifier-naming.AbstractClassCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.AbstractClassPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.AbstractClassSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.ClassPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassConstantCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.ClassConstantPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassConstantSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassMemberCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ClassMemberPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassMemberSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ClassMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ClassMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.ConstantPrefix
 | 
			
		||||
    value: PRE
 | 
			
		||||
  - key: readability-identifier-naming.ConstantSuffix
 | 
			
		||||
    value: POST
 | 
			
		||||
  - key: readability-identifier-naming.ConstantMemberCase
 | 
			
		||||
    value: 'lower_case'
 | 
			
		||||
  - key: readability-identifier-naming.ConstantMemberPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantMemberSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ConstantParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantPointerParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ConstantPointerParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstantPointerParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprFunctionCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprFunctionPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprFunctionSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprVariableCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprVariablePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ConstexprVariableSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.EnumCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.EnumPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.EnumSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.EnumConstantCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.EnumConstantPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.EnumConstantSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.FunctionCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.FunctionPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.FunctionSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantPointerCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantPointerPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalConstantPointerSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalFunctionCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.GlobalFunctionPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalFunctionSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalPointerCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.GlobalPointerPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalPointerSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalVariableCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.GlobalVariablePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.GlobalVariableSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.InlineNamespaceCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.InlineNamespacePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.InlineNamespaceSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantPointerCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantPointerPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalConstantPointerSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalPointerCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.LocalPointerPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalPointerSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalVariableCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.LocalVariablePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.LocalVariableSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.MemberCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.MemberPrefix
 | 
			
		||||
    value: PRE
 | 
			
		||||
  - key: readability-identifier-naming.MemberSuffix
 | 
			
		||||
    value: POST
 | 
			
		||||
  - key: readability-identifier-naming.MethodCase
 | 
			
		||||
    value: UPPER_CASE
 | 
			
		||||
  - key: readability-identifier-naming.MethodPrefix
 | 
			
		||||
    value: PRE
 | 
			
		||||
  - key: readability-identifier-naming.MethodSuffix
 | 
			
		||||
    value: POST
 | 
			
		||||
  - key: readability-identifier-naming.NamespaceCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.NamespacePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.NamespaceSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ParameterPackCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ParameterPackPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ParameterPackSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PointerParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.PointerParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PointerParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMemberCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMemberPrefix
 | 
			
		||||
    value: 'm_'
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMemberSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PrivateMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMemberCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMemberPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMemberSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ProtectedMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PublicMemberCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.PublicMemberPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PublicMemberSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PublicMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.PublicMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.PublicMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StaticConstantCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.StaticConstantPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StaticConstantSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StaticVariableCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.StaticVariablePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StaticVariableSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StructCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.StructPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.StructSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TemplateParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.TemplateParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TemplateParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TemplateTemplateParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.TemplateTemplateParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TemplateTemplateParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypeAliasCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.TypeAliasPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypeAliasSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypedefCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.TypedefPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypedefSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypeTemplateParameterCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.TypeTemplateParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.TypeTemplateParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.UnionCase
 | 
			
		||||
    value: CamelCase
 | 
			
		||||
  - key: readability-identifier-naming.UnionPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.UnionSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ValueTemplateParameterCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.ValueTemplateParameterPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.ValueTemplateParameterSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.VariableCase
 | 
			
		||||
    value: lower_case
 | 
			
		||||
  - key: readability-identifier-naming.VariablePrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.VariableSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.VirtualMethodCase
 | 
			
		||||
    value: camelBack
 | 
			
		||||
  - key: readability-identifier-naming.VirtualMethodPrefix
 | 
			
		||||
    value: ''
 | 
			
		||||
  - key: readability-identifier-naming.VirtualMethodSuffix
 | 
			
		||||
    value: ''
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										75
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,75 @@
 | 
			
		||||
.PHONY: all
 | 
			
		||||
 | 
			
		||||
UNKNOWN = \
 | 
			
		||||
  test_Constant.cpp \
 | 
			
		||||
  test_Member.cpp \
 | 
			
		||||
  test_Method.cpp \
 | 
			
		||||
  test_Variable.cpp \
 | 
			
		||||
 | 
			
		||||
SOURCES= \
 | 
			
		||||
  test_AbstractClass.cpp \
 | 
			
		||||
  test_ClassConstant.cpp \
 | 
			
		||||
  test_Class.cpp \
 | 
			
		||||
  test_ClassMember.cpp \
 | 
			
		||||
  test_ClassMethod.cpp \
 | 
			
		||||
  test_ConstantMember.cpp \
 | 
			
		||||
  test_ConstantParameter.cpp \
 | 
			
		||||
  test_ConstantPointerParameter.cpp \
 | 
			
		||||
  test_ConstexprFunction.cpp \
 | 
			
		||||
  test_ConstexprMethod.cpp \
 | 
			
		||||
  test_ConstexprVariable.cpp \
 | 
			
		||||
  test_EnumConstant.cpp \
 | 
			
		||||
  test_Enum.cpp \
 | 
			
		||||
  test_Function.cpp \
 | 
			
		||||
  test_GlobalConstant.cpp \
 | 
			
		||||
  test_GlobalConstantPointer.cpp \
 | 
			
		||||
  test_GlobalFunction.cpp \
 | 
			
		||||
  test_GlobalPointer.cpp \
 | 
			
		||||
  test_GlobalVariable.cpp \
 | 
			
		||||
  test_InlineNamespace.cpp \
 | 
			
		||||
  test_LocalConstant.cpp \
 | 
			
		||||
  test_LocalConstantPointer.cpp \
 | 
			
		||||
  test_LocalPointer.cpp \
 | 
			
		||||
  test_LocalVariable.cpp \
 | 
			
		||||
  test_Namespace.cpp \
 | 
			
		||||
  test_Parameter.cpp \
 | 
			
		||||
  test_ParameterPack.cpp \
 | 
			
		||||
  test_PointerParameter.cpp \
 | 
			
		||||
  test_PrivateMember.cpp \
 | 
			
		||||
  test_PrivateMethod.cpp \
 | 
			
		||||
  test_ProtectedMember.cpp \
 | 
			
		||||
  test_ProtectedMethod.cpp \
 | 
			
		||||
  test_PublicMember.cpp \
 | 
			
		||||
  test_PublicMethod.cpp \
 | 
			
		||||
  test_StaticConstant.cpp \
 | 
			
		||||
  test_StaticVariable.cpp \
 | 
			
		||||
  test_Struct.cpp \
 | 
			
		||||
  test_TemplateParameter.cpp \
 | 
			
		||||
  test_TemplateTemplateParameter.cpp \
 | 
			
		||||
  test_TypeAlias.cpp \
 | 
			
		||||
  test_Typedef.cpp \
 | 
			
		||||
  test_TypeTemplateParameter.cpp \
 | 
			
		||||
  test_Union.cpp \
 | 
			
		||||
  test_ValueTemplateParameter.cpp \
 | 
			
		||||
  test_VirtualMethod.cpp
 | 
			
		||||
 | 
			
		||||
OBJECTS=$(SOURCES:.cpp=.o)
 | 
			
		||||
 | 
			
		||||
RESULTS=$(SOURCES:.cpp=.txt)
 | 
			
		||||
 | 
			
		||||
bear:
 | 
			
		||||
	bear -o compile_commands.json make obj
 | 
			
		||||
	compdb -p . list > compdb.json
 | 
			
		||||
	mv -f compdb.json compile_commands.json
 | 
			
		||||
	make res
 | 
			
		||||
 | 
			
		||||
obj: $(OBJECTS)
 | 
			
		||||
 | 
			
		||||
res: $(RESULTS)
 | 
			
		||||
 | 
			
		||||
.cpp.o:
 | 
			
		||||
	$(CXX) $(CXXFLAGS) -c $< -o /dev/null
 | 
			
		||||
 | 
			
		||||
%.txt : %.cpp
 | 
			
		||||
	clang-tidy-8 -quiet $<
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
## clang-tidy test
 | 
			
		||||
 | 
			
		||||
Проект для тестирования конфигурационного файла `.clang-tidy`,
 | 
			
		||||
описывающего правила именования идентикаторов.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										271
									
								
								compile_commands.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										271
									
								
								compile_commands.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,271 @@
 | 
			
		||||
[
 | 
			
		||||
{
 | 
			
		||||
  "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"
 | 
			
		||||
}
 | 
			
		||||
]
 | 
			
		||||
							
								
								
									
										6
									
								
								test_AbstractClass.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								test_AbstractClass.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
class ABSTRACT_CLASS {
 | 
			
		||||
	public:
 | 
			
		||||
		ABSTRACT_CLASS();
 | 
			
		||||
		virtual int function();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								test_Class.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								test_Class.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
class TEST_CLASS {
 | 
			
		||||
        public:
 | 
			
		||||
                TEST_CLASS();
 | 
			
		||||
                ~TEST_CLASS();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ClassConstant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ClassConstant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithClassConstant {
 | 
			
		||||
        public:
 | 
			
		||||
                static int const Class_Constant = 0;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ClassMember.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ClassMember.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithClassMember {
 | 
			
		||||
	public:
 | 
			
		||||
		static int CLASS_MEMBER;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ClassMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ClassMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithMethod {
 | 
			
		||||
        public:
 | 
			
		||||
                static int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								test_Constant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test_Constant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
// FIXME
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ConstantMember.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ConstantMember.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithConstantMember {
 | 
			
		||||
	public:
 | 
			
		||||
		char const ConstMember[4] = "123";
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_ConstantParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_ConstantParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
char returnChar(const char return_Value) {
 | 
			
		||||
        return return_Value;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_ConstantPointerParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_ConstantPointerParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
void* returnVoid(void* const return_Value) {
 | 
			
		||||
        return return_Value;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								test_ConstexprFunction.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								test_ConstexprFunction.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
constexpr int get_five() {
 | 
			
		||||
        return ( 5 );
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ConstexprMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ConstexprMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithConstexprMethod {
 | 
			
		||||
        private:
 | 
			
		||||
                constexpr int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_ConstexprVariable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_ConstexprVariable.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
constexpr int CONST_FIVE = 5;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_Enum.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_Enum.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
enum TEST_enum { ONE, TWO };
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_EnumConstant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_EnumConstant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
enum TestEnum { one, TWO };
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_Function.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_Function.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
static int static_function() {
 | 
			
		||||
        return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_GlobalConstant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_GlobalConstant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
const int theOne = 1;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								test_GlobalConstantPointer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								test_GlobalConstantPointer.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
void* global_pointer;
 | 
			
		||||
void* const GlobalConstPointer = global_pointer;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_GlobalFunction.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_GlobalFunction.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
int global_function() {
 | 
			
		||||
        return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_GlobalPointer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_GlobalPointer.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
void* globalPointer;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								test_GlobalVariable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test_GlobalVariable.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
unsigned GlobalVariable;
 | 
			
		||||
							
								
								
									
										6
									
								
								test_InlineNamespace.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								test_InlineNamespace.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
namespace test_ns {
 | 
			
		||||
inline namespace InlineNamespace {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
} // namespace test_ns
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_LocalConstant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_LocalConstant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
int functionWithLocalConstant() {
 | 
			
		||||
        const int LocalConstant = 0;
 | 
			
		||||
        return LocalConstant;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								test_LocalConstantPointer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								test_LocalConstantPointer.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
void* functionWithLocalConstPointer() {
 | 
			
		||||
        void* pointer = nullptr;
 | 
			
		||||
        void* const LocalConstPointer = pointer;
 | 
			
		||||
        return LocalConstPointer;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_LocalPointer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_LocalPointer.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
void* function() {
 | 
			
		||||
        void* LocalPointer = nullptr;
 | 
			
		||||
        return LocalPointer;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_LocalVariable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_LocalVariable.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
int function() {
 | 
			
		||||
        int LocalVariable = 0;
 | 
			
		||||
        return LocalVariable;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								test_Member.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test_Member.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/// FIXME
 | 
			
		||||
							
								
								
									
										1
									
								
								test_Method.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test_Method.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
// FIXME
 | 
			
		||||
							
								
								
									
										4
									
								
								test_Namespace.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_Namespace.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
namespace TEST_ns {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_Parameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_Parameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
int returnInt(int return_Value) {
 | 
			
		||||
        return return_Value;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_ParameterPack.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_ParameterPack.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
template<class ... Types> void f(Types ... Parameters_Pack);
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_PointerParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_PointerParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
void* returnPtr(void* return_Value) {
 | 
			
		||||
        return return_Value;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_PrivateMember.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_PrivateMember.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithPrivateMember {
 | 
			
		||||
	private:
 | 
			
		||||
		int PrivateMember;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_PrivateMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_PrivateMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
class ClassWithPrivateMethod {
 | 
			
		||||
        private:
 | 
			
		||||
                int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ProtectedMember.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ProtectedMember.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithProtectedMember {
 | 
			
		||||
        protected:
 | 
			
		||||
                int ProtectedMember;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_ProtectedMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_ProtectedMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithProtectedMethod {
 | 
			
		||||
        protected:
 | 
			
		||||
                int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_PublicMember.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_PublicMember.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithPublicMember {
 | 
			
		||||
	public:
 | 
			
		||||
		int PublicMember;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_PublicMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_PublicMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
class ClassWithPublicMethod {
 | 
			
		||||
        public:
 | 
			
		||||
                int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_StaticConstant.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_StaticConstant.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
int functionWithStaticConstant() {
 | 
			
		||||
        static const int StaticConstant = 0;
 | 
			
		||||
        return StaticConstant;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_StaticVariable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_StaticVariable.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
int functionWithStaticVariable() {
 | 
			
		||||
        static int StaticVariable = 0;
 | 
			
		||||
        return StaticVariable;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								test_Struct.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								test_Struct.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
struct TEST_struct {
 | 
			
		||||
	int a;
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										4
									
								
								test_TemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_TemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
template<typename TType>int tFunction(TType t_value) {
 | 
			
		||||
        return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								test_TemplateTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test_TemplateTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
template<template<class T> class TPL_TPL_Parameter> class AllmightyClass { };
 | 
			
		||||
							
								
								
									
										5
									
								
								test_TypeAlias.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_TypeAlias.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
struct MyStructure {
 | 
			
		||||
	int a;
 | 
			
		||||
};
 | 
			
		||||
using MY_STRUCT_TYPE = MyStructure;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_TypeTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_TypeTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
template<typename t_type>int tFunction(t_type value) {
 | 
			
		||||
        return 0;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								test_Typedef.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								test_Typedef.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
typedef int MY_INT;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								test_Union.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								test_Union.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
union TEST_union {
 | 
			
		||||
        int a;
 | 
			
		||||
        char b;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								test_ValueTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_ValueTemplateParameter.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
template<typename TType, int arg_COUNT> int tFunction(TType tValue) {
 | 
			
		||||
        return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										0
									
								
								test_Variable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								test_Variable.cpp
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										4
									
								
								test_VirtualMethod.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test_VirtualMethod.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
class ClassWithVirtualMethod {
 | 
			
		||||
        private:
 | 
			
		||||
                virtual int get_int() { return 0; };
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user