Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
clang 20.0.0git
IndexingAction.cpp File Reference

Go to the source code of this file.

Functions

static bool topLevelDeclVisitor (void *context, const Decl *D)
 
static void indexTranslationUnit (ASTUnit &Unit, IndexingContext &IndexCtx)
 
static void indexPreprocessorMacro (const IdentifierInfo *II, const MacroInfo *MI, MacroDirective::Kind DirectiveKind, SourceLocation Loc, IndexDataConsumer &DataConsumer)
 
static void indexPreprocessorMacros (Preprocessor &PP, IndexDataConsumer &DataConsumer)
 
static void indexPreprocessorModuleMacros (Preprocessor &PP, serialization::ModuleFile &Mod, IndexDataConsumer &DataConsumer)
 

Function Documentation

◆ indexPreprocessorMacro()

static void indexPreprocessorMacro ( const IdentifierInfo II,
const MacroInfo MI,
MacroDirective::Kind  DirectiveKind,
SourceLocation  Loc,
IndexDataConsumer DataConsumer 
)
static

◆ indexPreprocessorMacros()

static void indexPreprocessorMacros ( Preprocessor PP,
IndexDataConsumer DataConsumer 
)
static

◆ indexPreprocessorModuleMacros()

◆ indexTranslationUnit()

static void indexTranslationUnit ( ASTUnit Unit,
IndexingContext IndexCtx 
)
static

◆ topLevelDeclVisitor()

static bool topLevelDeclVisitor ( void *  context,
const Decl D 
)
static

Definition at line 201 of file IndexingAction.cpp.

References D, and clang::index::IndexingContext::indexTopLevelDecl().

Referenced by indexTranslationUnit().