clang-tools 19.0.0git
Public Member Functions | List of all members
clang::clangd::HeuristicResolver Class Reference

#include <HeuristicResolver.h>

Public Member Functions

 HeuristicResolver (ASTContext &Ctx)
 
std::vector< const NamedDecl * > resolveMemberExpr (const CXXDependentScopeMemberExpr *ME) const
 
std::vector< const NamedDecl * > resolveDeclRefExpr (const DependentScopeDeclRefExpr *RE) const
 
std::vector< const NamedDecl * > resolveTypeOfCallExpr (const CallExpr *CE) const
 
std::vector< const NamedDecl * > resolveCalleeOfCallExpr (const CallExpr *CE) const
 
std::vector< const NamedDecl * > resolveUsingValueDecl (const UnresolvedUsingValueDecl *UUVD) const
 
std::vector< const NamedDecl * > resolveDependentNameType (const DependentNameType *DNT) const
 
std::vector< const NamedDecl * > resolveTemplateSpecializationType (const DependentTemplateSpecializationType *DTST) const
 
const TyperesolveNestedNameSpecifierToType (const NestedNameSpecifier *NNS) const
 
const TypegetPointeeType (const Type *T) const
 

Detailed Description

Definition at line 46 of file HeuristicResolver.h.

Constructor & Destructor Documentation

◆ HeuristicResolver()

clang::clangd::HeuristicResolver::HeuristicResolver ( ASTContext &  Ctx)
inline

Definition at line 48 of file HeuristicResolver.h.

Member Function Documentation

◆ getPointeeType()

const Type * clang::clangd::HeuristicResolver::getPointeeType ( const Type T) const

Definition at line 87 of file HeuristicResolver.cpp.

References getPointeeType(), and clang::clangd::NonStaticFilter.

Referenced by getPointeeType(), and resolveMemberExpr().

◆ resolveCalleeOfCallExpr()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveCalleeOfCallExpr ( const CallExpr *  CE) const

Definition at line 190 of file HeuristicResolver.cpp.

References CE.

◆ resolveDeclRefExpr()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveDeclRefExpr ( const DependentScopeDeclRefExpr *  RE) const

Definition at line 167 of file HeuristicResolver.cpp.

References clang::clangd::StaticFilter.

◆ resolveDependentNameType()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveDependentNameType ( const DependentNameType *  DNT) const

◆ resolveMemberExpr()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveMemberExpr ( const CXXDependentScopeMemberExpr *  ME) const

◆ resolveNestedNameSpecifierToType()

const Type * clang::clangd::HeuristicResolver::resolveNestedNameSpecifierToType ( const NestedNameSpecifier *  NNS) const

◆ resolveTemplateSpecializationType()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveTemplateSpecializationType ( const DependentTemplateSpecializationType *  DTST) const

◆ resolveTypeOfCallExpr()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveTypeOfCallExpr ( const CallExpr *  CE) const

Definition at line 174 of file HeuristicResolver.cpp.

References CE.

◆ resolveUsingValueDecl()

std::vector< const NamedDecl * > clang::clangd::HeuristicResolver::resolveUsingValueDecl ( const UnresolvedUsingValueDecl *  UUVD) const

Definition at line 198 of file HeuristicResolver.cpp.

References clang::clangd::ValueFilter.


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