forked from OSchip/llvm-project
[clangd] Rename HeuristicResolver::resolveCallExpr() to resolveTypeOfCallExpr()
Differential Revision: https://reviews.llvm.org/D100741
This commit is contained in:
parent
6f6cf2da8d
commit
c624e70149
|
@ -115,7 +115,7 @@ std::vector<const NamedDecl *> HeuristicResolver::resolveDeclRefExpr(
|
|||
}
|
||||
|
||||
std::vector<const NamedDecl *>
|
||||
HeuristicResolver::resolveCallExpr(const CallExpr *CE) const {
|
||||
HeuristicResolver::resolveTypeOfCallExpr(const CallExpr *CE) const {
|
||||
const auto *CalleeType = resolveExprToType(CE->getCallee());
|
||||
if (!CalleeType)
|
||||
return {};
|
||||
|
@ -171,7 +171,7 @@ const Type *HeuristicResolver::resolveExprToType(const Expr *E) const {
|
|||
return resolveDeclsToType(resolveDeclRefExpr(RE));
|
||||
}
|
||||
if (const auto *CE = dyn_cast<CallExpr>(E)) {
|
||||
return resolveDeclsToType(resolveCallExpr(CE));
|
||||
return resolveDeclsToType(resolveTypeOfCallExpr(CE));
|
||||
}
|
||||
if (const auto *ME = dyn_cast<MemberExpr>(E))
|
||||
return resolveDeclsToType({ME->getMemberDecl()});
|
||||
|
|
|
@ -53,7 +53,8 @@ public:
|
|||
resolveMemberExpr(const CXXDependentScopeMemberExpr *ME) const;
|
||||
std::vector<const NamedDecl *>
|
||||
resolveDeclRefExpr(const DependentScopeDeclRefExpr *RE) const;
|
||||
std::vector<const NamedDecl *> resolveCallExpr(const CallExpr *CE) const;
|
||||
std::vector<const NamedDecl *>
|
||||
resolveTypeOfCallExpr(const CallExpr *CE) const;
|
||||
std::vector<const NamedDecl *>
|
||||
resolveUsingValueDecl(const UnresolvedUsingValueDecl *UUVD) const;
|
||||
std::vector<const NamedDecl *>
|
||||
|
|
Loading…
Reference in New Issue