<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/ExtractAPI/API.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[clang][ExtractAPI] Fix iteration order of TopLevelRecords (#106411)</title>
<updated>2024-08-29T09:02:01+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-08-29T09:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b9f4afa1674fe6f101b298d4893cde2ab2d16877'/>
<id>b9f4afa1674fe6f101b298d4893cde2ab2d16877</id>
<content type='text'>
Fixes #106355</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #106355</pre>
</div>
</content>
</entry>
<entry>
<title>Reenable anon structs (#104922)</title>
<updated>2024-08-20T14:36:46+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-08-20T14:36:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f4f3df3c0ffc22c09d9201980a88ebb8aecc8f8'/>
<id>8f4f3df3c0ffc22c09d9201980a88ebb8aecc8f8</id>
<content type='text'>
Add back missing includes and revert revert "[clang][ExtractAPI] Stop
dropping fields of nested anonymous record types when they aren't
attached to variable declaration (#104600)"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add back missing includes and revert revert "[clang][ExtractAPI] Stop
dropping fields of nested anonymous record types when they aren't
attached to variable declaration (#104600)"</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[clang][ExtractAPI] Stop dropping fields of nested anonymous record types when they aren't attached to variable declaration (#104600)"</title>
<updated>2024-08-19T15:06:43+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-08-19T15:06:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b18b4547f1bfaf6da37b29440a96176e807c2e6c'/>
<id>b18b4547f1bfaf6da37b29440a96176e807c2e6c</id>
<content type='text'>
This reverts commit c60da1a271a6bb271e7703b2f7c71fbece67ab78.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c60da1a271a6bb271e7703b2f7c71fbece67ab78.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][ExtractAPI] Stop dropping fields of nested anonymous record types when they aren't attached to variable declaration (#104600)</title>
<updated>2024-08-19T14:57:43+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-08-19T14:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c60da1a271a6bb271e7703b2f7c71fbece67ab78'/>
<id>c60da1a271a6bb271e7703b2f7c71fbece67ab78</id>
<content type='text'>
- Introduce primitives for removing records from `APISet` and managing
the record chain of `RecordContext`
- Detect nested anonymous record types and remove them from the `APISet`
after they have been fully traversed and transfer ownership of child
records to the parent context (if any)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Introduce primitives for removing records from `APISet` and managing
the record chain of `RecordContext`
- Detect nested anonymous record types and remove them from the `APISet`
after they have been fully traversed and transfer ownership of child
records to the parent context (if any)</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][Modules] Remove unnecessary includes of `Module.h` (#93417)</title>
<updated>2024-06-03T06:49:04+00:00</updated>
<author>
<name>David Stone</name>
<email>davidfromonline@gmail.com</email>
</author>
<published>2024-06-03T06:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=aaa4ff88d6a2ef69053211e7bbee623f24723b51'/>
<id>aaa4ff88d6a2ef69053211e7bbee623f24723b51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][ExtractAPI] Fix handling of anonymous TagDecls (#87772)</title>
<updated>2024-04-24T12:53:29+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-04-24T12:53:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3'/>
<id>2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3</id>
<content type='text'>
This changes the handling of anonymous TagDecls to the following rules:
- If the TagDecl is embedded in the declaration for some VarDecl (this
is the only possibility for RecordDecls), then pretend the child decls
belong to the VarDecl
- If it's an EnumDecl proceed as we did previously, i.e., embed it in
the enclosing DeclContext.

Additionally this fixes a few issues with declaration fragments not
consistently including "{ ... }" for anonymous TagDecls. To make testing
these additions easier this patch fixes some text declaration fragments
merging issues and updates tests accordingly.

rdar://121436298</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the handling of anonymous TagDecls to the following rules:
- If the TagDecl is embedded in the declaration for some VarDecl (this
is the only possibility for RecordDecls), then pretend the child decls
belong to the VarDecl
- If it's an EnumDecl proceed as we did previously, i.e., embed it in
the enclosing DeclContext.

Additionally this fixes a few issues with declaration fragments not
consistently including "{ ... }" for anonymous TagDecls. To make testing
these additions easier this patch fixes some text declaration fragments
merging issues and updates tests accordingly.

rdar://121436298</pre>
</div>
</content>
</entry>
<entry>
<title>Reenable external categories (#87357)</title>
<updated>2024-04-03T09:18:05+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-04-03T09:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e05c1b46d0d3739cc48ad912dbe6e9affce05927'/>
<id>e05c1b46d0d3739cc48ad912dbe6e9affce05927</id>
<content type='text'>
Reenables b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.

Also adds a new warning for missing `--symbol-graph-dir` arg when
`--emit-extension-symbol-graphs` is provided. This also reverts the
commit that removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reenables b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.

Also adds a new warning for missing `--symbol-graph-dir` arg when
`--emit-extension-symbol-graphs` is provided. This also reverts the
commit that removed.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)"</title>
<updated>2024-04-02T14:34:52+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-04-02T14:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=209a1e8dfdf1c104dd53b50eb196d6bc0dd01659'/>
<id>209a1e8dfdf1c104dd53b50eb196d6bc0dd01659</id>
<content type='text'>
This failed the test suite due to missing DiagGroup for a new warning.

This reverts commit b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This failed the test suite due to missing DiagGroup for a new warning.

This reverts commit b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)</title>
<updated>2024-04-02T14:03:46+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-04-02T14:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf'/>
<id>b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf</id>
<content type='text'>
This extends ExtractAPI to take into account symbols defined in categories to types defined in an external module.
This introduces 2 new command line flags, `--symbol-graph-dir=DIR` and `--emit-extension-symbol-graphs`, when used together this generates additional symbol graph files at `DIR/ExtendedModule@ProductName.symbols.json` for each external module that is extended in this way.

Additionally this makes some cleanups to tests to make them more resilient and cleans up the `APISet` data structure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extends ExtractAPI to take into account symbols defined in categories to types defined in an external module.
This introduces 2 new command line flags, `--symbol-graph-dir=DIR` and `--emit-extension-symbol-graphs`, when used together this generates additional symbol graph files at `DIR/ExtendedModule@ProductName.symbols.json` for each external module that is extended in this way.

Additionally this makes some cleanups to tests to make them more resilient and cleans up the `APISet` data structure.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][ExtractAPI] Add support C unions in non C++ parsing mode (#77451)</title>
<updated>2024-01-22T15:32:57+00:00</updated>
<author>
<name>Daniel Grumberg</name>
<email>dgrumberg@apple.com</email>
</author>
<published>2024-01-22T15:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=69fedaf830f8a2df4751a3c20189b7299daf88ae'/>
<id>69fedaf830f8a2df4751a3c20189b7299daf88ae</id>
<content type='text'>
Ensure that we generate correct symbol kinds and declaration fragments
for unions in C and Objective-C parsing modes.

rdar://120544091</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that we generate correct symbol kinds and declaration fragments
for unions in C and Objective-C parsing modes.

rdar://120544091</pre>
</div>
</content>
</entry>
</feed>
