clang 20.0.0git
Namespaces | Functions
IndexingAction.h File Reference
#include "clang/AST/ASTConsumer.h"
#include "clang/Basic/LLVM.h"
#include "clang/Index/IndexingOptions.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/ArrayRef.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::serialization
 
namespace  clang::index
 

Functions

std::unique_ptr< ASTConsumerclang::index::createIndexingASTConsumer (std::shared_ptr< IndexDataConsumer > DataConsumer, const IndexingOptions &Opts, std::shared_ptr< Preprocessor > PP)
 Creates an ASTConsumer that indexes all symbols (macros and AST decls).
 
std::unique_ptr< ASTConsumerclang::index::createIndexingASTConsumer (std::shared_ptr< IndexDataConsumer > DataConsumer, const IndexingOptions &Opts, std::shared_ptr< Preprocessor > PP, std::function< bool(const Decl *)> ShouldSkipFunctionBody)
 
std::unique_ptr< FrontendActionclang::index::createIndexingAction (std::shared_ptr< IndexDataConsumer > DataConsumer, const IndexingOptions &Opts)
 Creates a frontend action that indexes all symbols (macros and AST decls).
 
void clang::index::indexASTUnit (ASTUnit &Unit, IndexDataConsumer &DataConsumer, IndexingOptions Opts)
 Recursively indexes all decls in the AST.
 
void clang::index::indexTopLevelDecls (ASTContext &Ctx, Preprocessor &PP, ArrayRef< const Decl * > Decls, IndexDataConsumer &DataConsumer, IndexingOptions Opts)
 Recursively indexes Decls.
 
std::unique_ptr< PPCallbacksclang::index::indexMacrosCallback (IndexDataConsumer &Consumer, IndexingOptions Opts)
 Creates a PPCallbacks that indexes macros and feeds macros to Consumer.
 
void clang::index::indexModuleFile (serialization::ModuleFile &Mod, ASTReader &Reader, IndexDataConsumer &DataConsumer, IndexingOptions Opts)
 Recursively indexes all top-level decls in the module.