aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/DeveloperPolicy.rst
diff options
context:
space:
mode:
authorChris B <chris.bieneman@me.com>2025-01-21 15:48:27 -0600
committerGitHub <noreply@github.com>2025-01-21 15:48:27 -0600
commitc59ede638f48a80644ba0a6de0573d541fc05bbc (patch)
treec9f5b33956cb32b3a2f3bd52aa6487ae52e7f236 /llvm/docs/DeveloperPolicy.rst
parent3418cd082ae2c6d051d505014a62392429105fd4 (diff)
downloadllvm-users/wlei-llvm/func-addr-map1.zip
llvm-users/wlei-llvm/func-addr-map1.tar.gz
llvm-users/wlei-llvm/func-addr-map1.tar.bz2
Update Developer Policy for copyright notices (#123463)users/wlei-llvm/func-addr-map1
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.
Diffstat (limited to 'llvm/docs/DeveloperPolicy.rst')
-rw-r--r--llvm/docs/DeveloperPolicy.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/DeveloperPolicy.rst b/llvm/docs/DeveloperPolicy.rst
index 18b05d2..5b1f7dc 100644
--- a/llvm/docs/DeveloperPolicy.rst
+++ b/llvm/docs/DeveloperPolicy.rst
@@ -1154,6 +1154,18 @@ acceptable for their contributions. We feel that a high burden for relicensing
is good for the project, because contributors do not have to fear that their
code will be used in a way with which they disagree.
+Embedded Copyright or 'Contributed by' Statements
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The LLVM project does not accept contributions that include in-source copyright
+notices except where such notices are part of a larger external project being
+added as a vendored dependency.
+
+LLVM source code lives for a long time and is edited by many people, the best
+way to track contributions is through revision control history.
+See the `Attribution of Changes`_ section for more information about attributing
+changes to authors other than the committer.
+
Relicensing
-----------