<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang/bindings/python/examples, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-01-19T08:50:56+00:00</updated>
<entry>
<title>Update the file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T08:50:56+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T08:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2946cd701067404b99c39fb29dc9c74bd7193eb3'/>
<id>urn:sha1:2946cd701067404b99c39fb29dc9c74bd7193eb3</id>
<content type='text'>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
</content>
</entry>
<entry>
<title>Portable Python script across Python version</title>
<updated>2018-12-18T16:04:21+00:00</updated>
<author>
<name>Serge Guelton</name>
<email>sguelton@quarkslab.com</email>
</author>
<published>2018-12-18T16:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d458974c454ee977dc0bd3b9f1116df7d4037ab2'/>
<id>urn:sha1:d458974c454ee977dc0bd3b9f1116df7d4037ab2</id>
<content type='text'>
In Python3, dict.items, dict.keys, dict.values, zip, map and filter no longer return lists, they create generator instead.

The portability patch consists in forcing an extra `list` call if the result is actually used as a list.
`map` are replaced by list comprehension and `filter` by filtered list comprehension.

Differential Revision: https://reviews.llvm.org/D55197

llvm-svn: 349501
</content>
</entry>
<entry>
<title>cindex-dump.py: fix the --show-ids description string</title>
<updated>2014-05-05T04:42:26+00:00</updated>
<author>
<name>Alp Toker</name>
<email>alp@nuanti.com</email>
</author>
<published>2014-05-05T04:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d29607871f661c9cde7f60fbf3adeae4fb6d82bc'/>
<id>urn:sha1:d29607871f661c9cde7f60fbf3adeae4fb6d82bc</id>
<content type='text'>
It looks like this was botched back in r94936.

llvm-svn: 207947
</content>
</entry>
<entry>
<title>Fix cindex-dump.py --show-ids</title>
<updated>2014-05-05T04:39:18+00:00</updated>
<author>
<name>Alp Toker</name>
<email>alp@nuanti.com</email>
</author>
<published>2014-05-05T04:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=777fce64cc00c610d831808a2d3ed64c58608a89'/>
<id>urn:sha1:777fce64cc00c610d831808a2d3ed64c58608a89</id>
<content type='text'>
This option flag was incorrectly expecting an argument:

$ cindex-dump.py --show-ids test.cpp
cindex-dump.py: error: invalid number arguments

With this change the feature correctly gets enabled by --show-ids.

No tests.

llvm-svn: 207946
</content>
</entry>
<entry>
<title>cindex/Python: Fix cindex-{dump,includes} examples to just pass all args</title>
<updated>2010-02-13T18:33:28+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-02-13T18:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ae4b77d99dca0fc7a727333ac98c600ba517ab89'/>
<id>urn:sha1:ae4b77d99dca0fc7a727333ac98c600ba517ab89</id>
<content type='text'>
directly to Index, instead of requiring the input file to be first. This makes
the examples behave more like 'clang'.

For example,
  ddunbar@giles:tmp$ echo '#include &lt;string&gt;' | python ~/llvm/tools/clang/bindings/python/examples/cindex/cindex-includes.py -- -x c++ - | wc -l
     114
  ddunbar@giles:tmp$ echo '#include &lt;stdio.h&gt;' | python ~/llvm/tools/clang/bindings/python/examples/cindex/cindex-includes.py -- -x c - | wc -l
      10

llvm-svn: 96107
</content>
</entry>
<entry>
<title>cindex/Python: Add TranslationUnit.get_includes, patch by Andrew Sutton!</title>
<updated>2010-02-13T18:33:18+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-02-13T18:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=43813bf0232abba5c813b042c68ec8424d21bc0c'/>
<id>urn:sha1:43813bf0232abba5c813b042c68ec8424d21bc0c</id>
<content type='text'>
llvm-svn: 96106
</content>
</entry>
<entry>
<title>cindex/Python: Turn off showing IDs by default, they are really slow to compute</title>
<updated>2010-01-31T00:41:15+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-01-31T00:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=288edb5bda2c4cac851544e5ead57bc6bc5383db'/>
<id>urn:sha1:288edb5bda2c4cac851544e5ead57bc6bc5383db</id>
<content type='text'>
pending a hash function. Also added a --max-depth argument, handy for timing and
limiting the volume of output.

llvm-svn: 94936
</content>
</entry>
<entry>
<title>cindex/Python: Add a simple example which dumps assorted information about a translation unit.</title>
<updated>2010-01-30T23:59:14+00:00</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-01-30T23:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=45dc842a0e8401ba83e8bbcc28a7d101e33e1400'/>
<id>urn:sha1:45dc842a0e8401ba83e8bbcc28a7d101e33e1400</id>
<content type='text'>
llvm-svn: 94934
</content>
</entry>
</feed>
