This file is indexed.

/usr/share/kdevcodegen/templates/cpp_header.h is in kdevelop-data 4:5.0.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{% load kdev_filters %}
{% include "license_header_cpp.txt" %}


{% block include_guard_open %}
#ifndef {% include "include_guard_cpp.txt" %}
#define {% include "include_guard_cpp.txt" %}
{% endblock include_guard_open %}


{% block includes %}
{% for included_file in included_files %}
#include {{ included_file }}
{% endfor %}
{% endblock includes %}


{% block namespaces_open %}
{% include "namespace_open_cpp.txt" %}
{% endblock namespaces_open %}


{% block forward_declarations %}
{% endblock forward_declarations %}


{% block class_declaration_open %}
class {{ name }}{% if base_classes %} :{% for base in base_classes %} {{ base.inheritanceMode }} {{ base.baseType }}{% if not forloop.last %},{% endif %}{% endfor %}{% endif %}
{
{% endblock class_declaration_open %}

{% block class_body %}
{% if public_members or public_functions %}
public:
{% endif %}
    {% if public_functions %}
    {% for method in public_functions %}
    {% include "method_declaration_cpp.txt" %}
    {% endfor %}
    {% endif %}
    {% if public_members %}
    {% for member in public_members %}
    {{ member.type }} {{ member.name }};
    {% endfor %}
    {% endif %}
{% if protected_members or protected_functions %}
protected:
{% endif %}
    {% if protected_functions %}
    {% for method in protected_functions %}
    {% include "method_declaration_cpp.txt" %}
    {% endfor %}
    {% endif %}
    {% if protected_members %}
    {% for member in protected_members %}
    {{ member.type }} {{ member.name }};
    {% endfor %}
    {% endif %}
{% if private_members or private_functions %}
private:
{% endif %}
    {% if private_functions %}
    {% for method in private_functions %}
    {% include "method_declaration_cpp.txt" %}
    {% endfor %}
    {% endif %}
    {% for member in private_members %}
    {{ member.type }} {{ member.name }};
    {% endfor %}
{% endblock class_body %}
{% block class_bottom %}
{% endblock %}
{% block class_declaration_close %}
};
{% endblock %}

{% block outside_class %}
{% endblock %}

{% block namespaces_close %}
{% include "namespace_close_cpp.txt" %}
{% endblock namespaces_close %}

{% block outside_namespace %}
{% endblock %}


{% block include_guard_close %}
#endif // {% include "include_guard_cpp.txt" %}
{% endblock include_guard_close %}