<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Feb 12, 2016, at 1:19 PM, Chris Lattner <<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Feb 12, 2016, at 1:08 PM, Chandler Carruth <<a href="mailto:chandlerc@gmail.com" class="">chandlerc@gmail.com</a>> wrote:<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class="">I got permission internally and contributed the header under the LLVM license, I don’t think that whether it originated from swift repo or not makes any difference here.</div><div class="">If you could elaborate more on your concerns it would be helpful.</div></div></div></blockquote><div class=""><br class=""></div><div class="">How do we know whether any other contributor to Swift authored some of the code in this file? Does Apple get copyright assignment for all Swift contributions? Only if Apple has copyright assignment for all contributions to Swift or only people from Apple have every contributed to this part of Swift is asking internally enough.</div><div class=""><br class=""></div><div class="">And since this is an open source project, it would seem polite (even if not necessary) to also ask the community rather than just asking internally. We don't all work at Apple. =/</div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote><div class=""><br class=""></div><div class="">The code is 100% copyrighted by Apple. The full history in the swift repo is here:</div><div class=""><a href="https://github.com/apple/swift/commits/master/include/swift/Basic/OptionSet.h" class="">https://github.com/apple/swift/commits/master/include/swift/Basic/OptionSet.h</a></div><div class=""><br class=""></div><div class="">There are two trivial patches by non-apple contributors. Both are both single line patches that adjust comments (one is the first line of the file, one is the copyright date):</div><div class=""><a href="https://github.com/apple/swift/commit/1339b5403bbaf6205abb2bfdf7fabadef1aacc70#diff-1e8f8df8addd9510deea20d4bea2eda2" class="">https://github.com/apple/swift/commit/1339b5403bbaf6205abb2bfdf7fabadef1aacc70#diff-1e8f8df8addd9510deea20d4bea2eda2</a></div><div class=""><a href="https://github.com/apple/swift/commit/e3a4147ac94e55fcab1d14e949f572b53d9eb638#diff-1e8f8df8addd9510deea20d4bea2eda2" class="">https://github.com/apple/swift/commit/e3a4147ac94e55fcab1d14e949f572b53d9eb638#diff-1e8f8df8addd9510deea20d4bea2eda2</a></div><div class=""><br class=""></div><div class="">That said, both of those patches are irrelevant to the discussion, because Argyrios removed the swift header and replaced it with the LLVM header when he checked it in.</div></div></div></div></blockquote><br class=""></div><div>Incidentally and unrelatedly, the Swift repo has a bunch of other generally useful “ADT like” support stuff:</div><div><a href="https://github.com/apple/swift/tree/master/include/swift/Basic" class="">https://github.com/apple/swift/tree/master/include/swift/Basic</a></div><br class=""><div class="">If folks are interested in seeing any parts of it go up to LLVM, I’d love to see that happen.</div><div class=""><br class=""></div><div class="">-Chris</div></body></html>