Revision tags: llvmorg-18.1.8, llvmorg-18.1.7 |
|
#
fa649df8 |
| 29-May-2024 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][ExtractAPI] Flatten all enum cases from anonymous enums at top level (#93559)
rdar://128863241
|
Revision tags: llvmorg-18.1.6, llvmorg-18.1.5 |
|
#
2bcbe40f |
| 24-Apr-2024 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][ExtractAPI] Fix handling of anonymous TagDecls (#87772)
This changes the handling of anonymous TagDecls to the following rules:
- If the TagDecl is embedded in the declaration for some VarD
[clang][ExtractAPI] Fix handling of anonymous TagDecls (#87772)
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
show more ...
|
Revision tags: llvmorg-18.1.4 |
|
#
e05c1b46 |
| 03-Apr-2024 |
Daniel Grumberg <dgrumberg@apple.com> |
Reenable external categories (#87357)
Reenables b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.
Also adds a new warning for missing `--symbol-graph-dir` arg when
`--emit-extension-symbol-graphs` is pr
Reenable external categories (#87357)
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.
show more ...
|
Revision tags: llvmorg-18.1.3 |
|
#
209a1e8d |
| 02-Apr-2024 |
Daniel Grumberg <dgrumberg@apple.com> |
Revert "[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)"
This failed the test suite due to missing DiagGroup for a new warning.
This reverts commit b31414bf4f9898f7817a9fc
Revert "[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)"
This failed the test suite due to missing DiagGroup for a new warning.
This reverts commit b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.
show more ...
|
#
b31414bf |
| 02-Apr-2024 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)
This extends ExtractAPI to take into account symbols defined in categories to types defined in an external module.
This int
[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)
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.
show more ...
|
Revision tags: llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6 |
|
#
63537872 |
| 14-Nov-2023 |
QuietMisdreavus <QuietMisdreavus@users.noreply.github.com> |
ExtractAPI: use zero-based indices for line/column in symbol graph (#71753)
Other implementations of the symbol graph format use zero-based indices
for source locations, which causes problems when
ExtractAPI: use zero-based indices for line/column in symbol graph (#71753)
Other implementations of the symbol graph format use zero-based indices
for source locations, which causes problems when combined with clang's
current one-based indices. This commit sets ExtractAPI's symbol graph
output to use zero-based indices to align with other implementations.
rdar://107639783
show more ...
|
Revision tags: llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1 |
|
#
afce10c5 |
| 20-Mar-2023 |
NagaChaitanya Vellanki <pnagato@protonmail.com> |
[clang][ExtractAPI] Add semicolons for enum, typedef, struct declaration fragments
Fixes https://github.com/llvm/llvm-project/issues/61480
Reviewed By: dang
Differential Revision: https://reviews.
[clang][ExtractAPI] Add semicolons for enum, typedef, struct declaration fragments
Fixes https://github.com/llvm/llvm-project/issues/61480
Reviewed By: dang
Differential Revision: https://reviews.llvm.org/D146354
show more ...
|
Revision tags: llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5 |
|
#
39dbfa72 |
| 07-Nov-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
Revert "Only add targetFallback if target is not in defined in current product"
This was an accidental addition of a non-reviewed change.
This reverts commit f63db9159bbbb0db98e13cb4440fdaa5c40e219
Revert "Only add targetFallback if target is not in defined in current product"
This was an accidental addition of a non-reviewed change.
This reverts commit f63db9159bbbb0db98e13cb4440fdaa5c40e219b.
show more ...
|
Revision tags: llvmorg-15.0.4 |
|
#
f63db915 |
| 25-Oct-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
Only add targetFallback if target is not in defined in current product
|
#
671709f0 |
| 21-Oct-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][ExtractAPI] Add targetFallback to relationships in symbol graph
Adds a 'targetFallback' field to relationships in symbol graph that contains the plain name of the relationship target. This i
[clang][ExtractAPI] Add targetFallback to relationships in symbol graph
Adds a 'targetFallback' field to relationships in symbol graph that contains the plain name of the relationship target. This is useful for clients when the relationship target symbol is not available.
Differential Revision: https://reviews.llvm.org/D136455
show more ...
|
Revision tags: llvmorg-15.0.3 |
|
#
19e984ef |
| 14-Oct-2022 |
Aaron Ballman <aaron@aaronballman.com> |
Properly print unnamed TagDecl objects in diagnostics
The diagnostics engine is very smart about being passed a NamedDecl to print as part of a diagnostic; it gets the "right" form of the name, quot
Properly print unnamed TagDecl objects in diagnostics
The diagnostics engine is very smart about being passed a NamedDecl to print as part of a diagnostic; it gets the "right" form of the name, quotes it properly, etc. However, the result of using an unnamed tag declaration was to print '' instead of anything useful.
This patch causes us to print the same information we'd have gotten if we had printed the type of the declaration rather than the name of it, as that's the most relevant information we can display.
Differential Revision: https://reviews.llvm.org/D134813
show more ...
|
Revision tags: working, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3 |
|
#
c1e17c7d |
| 28-Apr-2022 |
Duncan P. N. Exon Smith <dexonsmith@apple.com> |
ExtractAPI: Use %clang_cc1 and -verify in enum.c
Fix one test (enum.c) in ExtractAPI to use %clang_cc1 and -verify instead of calling the full driver and FileCheck. This is an example for my comment
ExtractAPI: Use %clang_cc1 and -verify in enum.c
Fix one test (enum.c) in ExtractAPI to use %clang_cc1 and -verify instead of calling the full driver and FileCheck. This is an example for my comment from https://reviews.llvm.org/D121873.
Differential Revision: https://reviews.llvm.org/D124634
show more ...
|
Revision tags: llvmorg-14.0.2, llvmorg-14.0.1 |
|
#
7443a504 |
| 11-Apr-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][extract-api] Add support for true anonymous enums
Anonymous enums without a typedef should have a "(anonymous)" identifier.
Differential Revision: https://reviews.llvm.org/D123533
|
#
e08c4354 |
| 11-Apr-2022 |
Zixu Wang <zixu_wang@apple.com> |
[clang][ExtractAPI][NFC] Fix sed delimiter in test
Fix path replacement in sed (properly this time) using lit regex_replacement.
Differential Revision: https://reviews.llvm.org/D123526
Co-authored
[clang][ExtractAPI][NFC] Fix sed delimiter in test
Fix path replacement in sed (properly this time) using lit regex_replacement.
Differential Revision: https://reviews.llvm.org/D123526
Co-authored-by: Michele Scandale <michele.scandale@gmail.com> Co-authored-by: Zixu Wang <9819235+zixu-w@users.noreply.github.com>
show more ...
|
#
80ae3665 |
| 08-Apr-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][extract-api] Emit "navigator" property of "name" in SymbolGraph
Differential Revision: https://reviews.llvm.org/D123391
|
#
28d79314 |
| 04-Apr-2022 |
Daniel Grumberg <dgrumberg@apple.com> |
[clang][extract-api] Fix small issues with SymbolGraphSerializer
This includes: - replacing "relationhips" with "relationships" - emitting the "pathComponents" property on symbols - emitting the "ac
[clang][extract-api] Fix small issues with SymbolGraphSerializer
This includes: - replacing "relationhips" with "relationships" - emitting the "pathComponents" property on symbols - emitting the "accessLevel" property on symbols
Differential Revision: https://reviews.llvm.org/D123045
show more ...
|
#
71b4c226 |
| 17-Mar-2022 |
Zixu Wang <zixu_wang@apple.com> |
[clang][extract-api] Add enum support
Add support for enum records - Add `EnumConstantRecord` and `EnumRecord` to store API information for enums - Implement `VisitEnumDecl` in `ExtractAPIVisitor`
[clang][extract-api] Add enum support
Add support for enum records - Add `EnumConstantRecord` and `EnumRecord` to store API information for enums - Implement `VisitEnumDecl` in `ExtractAPIVisitor` - Implement serializatin for enum records and `MemberOf` relationship - Add test case for enum records - Few other improvements
Depends on D122160
Differential Revision: https://reviews.llvm.org/D121873
show more ...
|