clang-tools  14.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 Type * resolveNestedNameSpecifierToType (const NestedNameSpecifier *NNS) 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

◆ resolveCalleeOfCallExpr()

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

Definition at line 157 of file HeuristicResolver.cpp.

References CE.

Referenced by clang::clangd::InlayHintVisitor::VisitCallExpr().

◆ resolveDeclRefExpr()

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

Definition at line 134 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

Definition at line 92 of file HeuristicResolver.cpp.

References resolveNestedNameSpecifierToType(), and Type.

◆ 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 141 of file HeuristicResolver.cpp.

References CE, ns1::ns2::D, and clang::clangd::resolveTypeToRecordDecl().

◆ resolveUsingValueDecl()

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

Definition at line 165 of file HeuristicResolver.cpp.

References clang::clangd::ValueFilter.


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