diff options
author | Daniel Grumberg <dgrumberg@apple.com> | 2024-04-02 15:03:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 15:03:46 +0100 |
commit | b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf (patch) | |
tree | 216aa40d3f259da8c811839cd5e89f5616c6813b /clang/test/ExtractAPI/multiple_inheritance.cpp | |
parent | e03f16f9fdfcb36ed05842f43f542107a0d46288 (diff) | |
download | llvm-b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.zip llvm-b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.tar.gz llvm-b31414bf4f9898f7817a9fcf8a91f62ec26f3eaf.tar.bz2 |
[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.
Diffstat (limited to 'clang/test/ExtractAPI/multiple_inheritance.cpp')
-rw-r--r-- | clang/test/ExtractAPI/multiple_inheritance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ExtractAPI/multiple_inheritance.cpp b/clang/test/ExtractAPI/multiple_inheritance.cpp index a1f069b..7d49cf4 100644 --- a/clang/test/ExtractAPI/multiple_inheritance.cpp +++ b/clang/test/ExtractAPI/multiple_inheritance.cpp @@ -3,7 +3,7 @@ // RUN: split-file %s %t // RUN: sed -e "s@INPUT_DIR@%{/t:regex_replacement}@g" \ // RUN: %t/reference.output.json.in >> %t/reference.output.json -// RUN: %clang_cc1 -extract-api -triple arm64-apple-macosx \ +// RUN: %clang_cc1 -extract-api --pretty-sgf -triple arm64-apple-macosx \ // RUN: -x c++-header %t/input.h -o %t/output.json -verify // Generator version is not consistent across test runs, normalize it. |