aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorDaniel Grumberg <dgrumberg@apple.com>2023-03-22 18:43:24 +0000
committerDaniel Grumberg <dgrumberg@apple.com>2023-03-27 17:24:10 +0100
commitea35740e7e189cdcdd88344ac60a53a5b8a8318d (patch)
treec35fa1e7b1279cbb5a3bba215e48267e0ee88253 /clang/tools/c-index-test/c-index-test.c
parent0ceb7a12dbfd2035959d3791b96c923c0e1e89fc (diff)
downloadllvm-ea35740e7e189cdcdd88344ac60a53a5b8a8318d.zip
llvm-ea35740e7e189cdcdd88344ac60a53a5b8a8318d.tar.gz
llvm-ea35740e7e189cdcdd88344ac60a53a5b8a8318d.tar.bz2
[clang][ExtractAPI] Refactor ExtractAPIVisitor to make it more extensible
Use CRTP to enable creating statically dispatched subclasses of ExtractAPIVisitor. This enables adding extension points and customising the behavior more easily. This is used in CXExtractAPI.cpp to create a specialized visitor for Libclang as well as streamlining the batch implementation in ExtractAPIConsumer.cpp
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions