Skip to content

Commit c59ede6

Browse files
authored
Update Developer Policy for copyright notices (#123463)
This updates the developer policy to align with established community norms for copyright notices in source code contributed to LLVM. The updates clearly state that we do not accept code contianing explicit copyright notices in source except where such code is a pre-existing part of an external dependency that is being vendored into LLVM. Explicit copyright notices in source add no value to the project since copyright ownership is well tracked through git. Our policy already requires that contributions made not by the original author have appropriate attribution in git commit messsages or metadata. Further, explicit copyright notices in code can easily get out of date as the code is refactored, updated by additional authors or otherwise changed over time. This leads to misleading out-of-date copyright notices which do more harm than good. This change should be viewed as a clarification and statement of existing established policy, not a change in policy since it represents the way the project has been operating.
1 parent 3418cd0 commit c59ede6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: llvm/docs/DeveloperPolicy.rst

+12
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,18 @@ acceptable for their contributions. We feel that a high burden for relicensing
11541154
is good for the project, because contributors do not have to fear that their
11551155
code will be used in a way with which they disagree.
11561156

1157+
Embedded Copyright or 'Contributed by' Statements
1158+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1159+
1160+
The LLVM project does not accept contributions that include in-source copyright
1161+
notices except where such notices are part of a larger external project being
1162+
added as a vendored dependency.
1163+
1164+
LLVM source code lives for a long time and is edited by many people, the best
1165+
way to track contributions is through revision control history.
1166+
See the `Attribution of Changes`_ section for more information about attributing
1167+
changes to authors other than the committer.
1168+
11571169
Relicensing
11581170
-----------
11591171

0 commit comments

Comments
 (0)