ΒΆstd::unique_ptr<PPCallbacks> indexMacrosCallback(
clang::index::IndexDataConsumer& Consumer,
clang::index::IndexingOptions Opts)
std::unique_ptr<PPCallbacks> indexMacrosCallback(
clang::index::IndexDataConsumer& Consumer,
clang::index::IndexingOptions Opts)
Description
Creates a PPCallbacks that indexes macros and feeds macros to \p Consumer. The caller is responsible for calling `Consumer.setPreprocessor()`.
Declared at: clang/include/clang/Index/IndexingAction.h:64
Parameters
- clang::index::IndexDataConsumer& Consumer
- clang::index::IndexingOptions Opts