clang-tools 19.0.0git
Public Member Functions | List of all members
clang::include_fixer::SymbolIndex Class Referenceabstract

This class provides an interface for finding all SymbolInfos corresponding to a symbol name from a symbol database. More...

#include <SymbolIndex.h>

Inheritance diagram for clang::include_fixer::SymbolIndex:
Inheritance graph
[legend]

Public Member Functions

virtual ~SymbolIndex ()=default
 
virtual std::vector< find_all_symbols::SymbolAndSignalssearch (llvm::StringRef Identifier)=0
 Search for all SymbolInfos corresponding to an identifier.
 

Detailed Description

This class provides an interface for finding all SymbolInfos corresponding to a symbol name from a symbol database.

Definition at line 21 of file SymbolIndex.h.

Constructor & Destructor Documentation

◆ ~SymbolIndex()

virtual clang::include_fixer::SymbolIndex::~SymbolIndex ( )
virtualdefault

Member Function Documentation

◆ search()

virtual std::vector< find_all_symbols::SymbolAndSignals > clang::include_fixer::SymbolIndex::search ( llvm::StringRef  Identifier)
pure virtual

Search for all SymbolInfos corresponding to an identifier.

Parameters
IdentifierThe unqualified identifier being searched for.
Returns
A list of SymbolInfo candidates.

Implemented in clang::include_fixer::InMemorySymbolIndex, and clang::include_fixer::YamlSymbolIndex.


The documentation for this class was generated from the following file: