clang 19.0.0git
Functions
IndexingAction.cpp File Reference
#include "clang/Index/IndexingAction.h"
#include "IndexingContext.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Frontend/MultiplexConsumer.h"
#include "clang/Index/IndexDataConsumer.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Serialization/ASTReader.h"
#include "llvm/ADT/STLExtras.h"
#include <memory>

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()

static void indexPreprocessorModuleMacros ( Preprocessor PP,
serialization::ModuleFile Mod,
IndexDataConsumer DataConsumer 
)
static

◆ indexTranslationUnit()

static void indexTranslationUnit ( ASTUnit Unit,
IndexingContext IndexCtx 
)
static

◆ topLevelDeclVisitor()

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