aboutsummaryrefslogtreecommitdiff
path: root/clang/test/ExtractAPI/method_template_spec.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-03Revert "Reenable external categories (#87357)"revert-87357-reenable-external-categoriesVitaly Buka1-1/+1
This reverts commit e05c1b46d0d3739cc48ad912dbe6e9affce05927.
2024-04-03Reenable external categories (#87357)Daniel Grumberg1-1/+1
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.
2024-04-02Revert "[clang][ExtractAPI] Add ability to create multiple symbol graphs ↵Daniel Grumberg1-1/+1
(#86676)" This failed the test suite due to missing DiagGroup for a new warning. This reverts commit b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.
2024-04-02[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86676)Daniel Grumberg1-1/+1
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.
2023-11-14ExtractAPI: use zero-based indices for line/column in symbol graph (#71753)QuietMisdreavus1-6/+6
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
2023-08-21[clang][ExtractAPI] Visit method templates with better schemeErick Velez1-0/+371
Visit and serialize method templates and template specializations. Introduces a new scheme of visiting child Decls via VisitCXXMethodDecl which will be followed in future patches for Fields and non-template methods. Depends on D157579 Reviewed By: dang Differential Revision: https://reviews.llvm.org/D158027