aboutsummaryrefslogtreecommitdiff
path: root/clang/test/ExtractAPI/operator_overload.cpp
diff options
context:
space:
mode:
authorDaniel Grumberg <dgrumberg@apple.com>2024-04-02 15:03:46 +0100
committerGitHub <noreply@github.com>2024-04-02 15:03:46 +0100
commitb31414bf4f9898f7817a9fcf8a91f62ec26f3eaf (patch)
tree216aa40d3f259da8c811839cd5e89f5616c6813b /clang/test/ExtractAPI/operator_overload.cpp
parente03f16f9fdfcb36ed05842f43f542107a0d46288 (diff)
downloadllvm-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/operator_overload.cpp')
-rw-r--r--clang/test/ExtractAPI/operator_overload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ExtractAPI/operator_overload.cpp b/clang/test/ExtractAPI/operator_overload.cpp
index 511a5a7..9430c58 100644
--- a/clang/test/ExtractAPI/operator_overload.cpp
+++ b/clang/test/ExtractAPI/operator_overload.cpp
@@ -2,7 +2,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.