<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp-clang/bindings/python/clang, branch master</title>
<subtitle>emscripten clang</subtitle>
<id>https://git.amat.us/emscripten-fastcomp-clang/atom/bindings/python/clang?h=master</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp-clang/atom/bindings/python/clang?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/'/>
<updated>2013-04-21T18:35:51Z</updated>
<entry>
<title>Fix return type of isBitfield in the binding definition</title>
<updated>2013-04-21T18:35:51Z</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2013-04-21T18:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=52bb2a06361d1d0d51809a2ac06e270e8cf05a9e'/>
<id>urn:sha1:52bb2a06361d1d0d51809a2ac06e270e8cf05a9e</id>
<content type='text'>
Patch by Loïc Jaquemet.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179984 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[libclang] Expose record layout info via new libclang functions:</title>
<updated>2013-04-11T01:20:11Z</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2013-04-11T01:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=411d33aa0b0d3bc9b2faec40cd821bdd836094ab'/>
<id>urn:sha1:411d33aa0b0d3bc9b2faec40cd821bdd836094ab</id>
<content type='text'>
clang_Type_getAlignOf
clang_Type_getSizeOf
clang_Type_getOffsetOf
clang_Cursor_isBitField

Patch by Loïc Jaquemet!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179251 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>cindex.py: Handle NULL pointers when parsing translation units</title>
<updated>2013-03-19T15:30:48Z</updated>
<author>
<name>Tobias Grosser</name>
<email>grosser@fim.uni-passau.de</email>
</author>
<published>2013-03-19T15:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=11d6cd318df1459ed57b26912d5c7a5cf2c2f091'/>
<id>urn:sha1:11d6cd318df1459ed57b26912d5c7a5cf2c2f091</id>
<content type='text'>
The code inside cindex.py was comparing NULL pointer returned by
clang_parseTranslationUnit and clang_createTranslationUnit with None.
However, as illustrated by the two tests I've added, those conditions
were ineffective which resulted in assert triggering later on.

Instead, a pointer is now treated as a boolean value, a NULL pointer being
False.

Contributed-by: Xavier Deguillard &lt;deguilx@gmail.com&gt;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177408 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[cindex.py]: Use spaces instead of tabs</title>
<updated>2013-01-20T00:42:16Z</updated>
<author>
<name>Tobias Grosser</name>
<email>grosser@fim.uni-passau.de</email>
</author>
<published>2013-01-20T00:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=bba99ad6e28e0a91bbfb1137d52a5d7cb94c72d3'/>
<id>urn:sha1:bba99ad6e28e0a91bbfb1137d52a5d7cb94c72d3</id>
<content type='text'>
The tabs slipped in accidentally.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172934 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[cindex.py] Add cache for CompletionChunk spellings</title>
<updated>2013-01-19T11:03:44Z</updated>
<author>
<name>Tobias Grosser</name>
<email>grosser@fim.uni-passau.de</email>
</author>
<published>2013-01-19T11:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=69a8552f85c1b926320418cb98fe02988c79578f'/>
<id>urn:sha1:69a8552f85c1b926320418cb98fe02988c79578f</id>
<content type='text'>
Most of the CompletionChunks represent braces, colons or other one
character spellings. There is no need to call libclang, to figure out
how to write a colon. Instead we use an internal cache to retrieve the
correct spelling. As function calls from python are very expensive and
this is a performance critical part of auto completion this patch makes
formatting of auto completion results a lot faster.

Formatting time changes from 0.57 to 0.45 seconds

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172901 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[cindex.py] Replace CachedProperty with our own implementation</title>
<updated>2013-01-19T11:03:42Z</updated>
<author>
<name>Tobias Grosser</name>
<email>grosser@fim.uni-passau.de</email>
</author>
<published>2013-01-19T11:03:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=eca36d1ae23d0e4c46a3c2c2b91a19f4a2f8055d'/>
<id>urn:sha1:eca36d1ae23d0e4c46a3c2c2b91a19f4a2f8055d</id>
<content type='text'>
This is a very performance critical point for auto completion. The manual
implementation gives a large speedup. As it does not complicate the code a lot,
I figured it is worth the change. If anybody understands why the CachedProperty
is here so much slower, I am very interested in working on an improvement of
CachedProperty.

Formatting time changes from 0.72 to 0.57 seconds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172900 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[cindex.py]: Speed up lookup of the completion kind</title>
<updated>2013-01-19T11:03:40Z</updated>
<author>
<name>Tobias Grosser</name>
<email>grosser@fim.uni-passau.de</email>
</author>
<published>2013-01-19T11:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=e43d3861d969ad583e10ef7e46c5e08e866dfaa5'/>
<id>urn:sha1:e43d3861d969ad583e10ef7e46c5e08e866dfaa5</id>
<content type='text'>
We can directly the number of the kind instead of going through the
completionChunkKindMap.

Formatting time changes from 0.84 to 0.72 seconds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172899 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[python bindings] Expose cursor.referenced (clang_getCursorReferenced).</title>
<updated>2013-01-02T22:31:57Z</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2013-01-02T22:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=d829379ed95cdce29497118c6c6c39bd7f62f307'/>
<id>urn:sha1:d829379ed95cdce29497118c6c6c39bd7f62f307</id>
<content type='text'>
Patch by Matthew King!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171423 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix a copypasto bug. Also rename the parameter in question to not shadow the</title>
<updated>2012-12-11T17:37:46Z</updated>
<author>
<name>Matt Beaumont-Gay</name>
<email>matthewbg@google.com</email>
</author>
<published>2012-12-11T17:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=379ffe444f0a98f16f96470e0983bad50f282bc7'/>
<id>urn:sha1:379ffe444f0a98f16f96470e0983bad50f282bc7</id>
<content type='text'>
'file' builtin, and fix up a docstring a little.

Hat tip to Sebastian Kreft Carreno at Google for noticing the bug.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169887 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[clang.py] Add Cursor.get_arguments()</title>
<updated>2012-11-01T05:46:30Z</updated>
<author>
<name>Gregory Szorc</name>
<email>gregory.szorc@gmail.com</email>
</author>
<published>2012-11-01T05:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=b03b57d14983f90adb85f662812ba5742cfe45f2'/>
<id>urn:sha1:b03b57d14983f90adb85f662812ba5742cfe45f2</id>
<content type='text'>
Patch provided by Matthias Kleine &lt;matthias_kleine@gmx.de&gt;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167216 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
