+
+
When making a patch for review, the goal is to make it as easy for the
+ reviewer to read it as possible. As such, we recommend that you:
+
+ - Make your patch against the CVS HEAD (main development trunk),
+ not a branch, and not an old version of LLVM. This makes it easy to
+ apply the patch.
+
+ - Similarly, patches should be submitted soon after they are generated.
+ Old patches may not apply correctly if the underlying code changes between
+ the time the patch was created and the time it is applied.
+
+ - Patches should be made with this command:
+
cvs diff -Ntdup -5
+ or with the utility utils/mkpatch. to make it easy to read the
+ diff.
+
+ - Patches should not include differences in generated code such as the
+ code generated by flex, bison or tblgen. The
+ utils/mkpatch utility takes care of this for you.
+
+ - Contributions must not knowingly infringe on any patents. To the best of
+ our knowledge, LLVM is free of any existing patent violations and it is our
+ intent to keep it that way.
+
+
+
@@ -106,7 +138,9 @@
changes (or changes where the developer owns the component) can be
reviewed after commit.
The developer responsible for a code change is also responsible for
- making all necessary review-related changes.
+ making all necessary review-related changes.
+ Code review can be an iterative process, which goes until all the patch
+ is ready to be committed.
Developers should participate in code reviews as both a reviewer and
a reviewee. We don't have a dedicated team of reviewers. If someone is
kind enough to review your code, you should return the favor for someone
@@ -325,81 +359,6 @@ Changes
-
-
-
This section describes policies that apply to developers who regularly
- contribute code to LLVM. As usual, we often accept small patches and
- contributions that do not follow this policy. In this case, one of the
- regular contributors has to get the code in shape.
-
-
-
-
-
When submitting a patch, developers must follow these rules:
-
- - Patches must be made against the CVS HEAD (main development trunk),
- not a branch.
- - Patches should be made with this command:
-
cvs diff -Ntdup -5
- or with the utility utils/mkpatch.
- - Patches should not include differences in generated code such as the
- code generated by flex, bison or tblgen. The
- utils/mkpatch utility takes care of this for you.
- - Contributions must not knowingly infringe on any patents. To the best of
- our knowledge, LLVM is free of any existing patent violations and it is our
- intent to keep it that way.
-
-
-
-
-
-
When a patch is ready to be submitted, these policies apply:
-
- - Patches should be submitted immediately after they are generated. Stale
- patches may not apply correctly if the underlying code changes between the
- time the patch was created and the time it is applied.
- - Patches should be submitted by e-mail to the
-
- llvm-commits list.
-
-
-
-
-
-
After a patch has been submitted, these policies apply:
-
- - The patch is subject to review by anyone on the
- llvm-commits
- email list.
- - Changes recommended by a reviewer should be incorporated into your
- patch or you should explain why the reviewer is incorrect.
-
- Changes to the patch must be re-submitted to the
- llvm-commits
- email list.
- - This process iterates until all review issues have been addressed.
-
-
-
-
-
-
After a patch has been committed, these policies apply:
-
- - The patch is subject to further review by anyone on the llvm-commits
- email list.
- - The patch submitter is responsible for all aspects of the patch per
- the quality policy above.
- - If the patch is discovered to not meet the
- quality policy standards within a reasonable time
- frame (24 hours), it may be subject to reversal.
-
-