[PATCH] D95244: [clang][AST] Handle overload callee type in CallExpr::getCallReturnType.
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 9 02:34:29 PST 2021
martong added inline comments.
================
Comment at: clang/lib/AST/Expr.cpp:1406
+ } else if (CalleeType->isDependentType() ||
+ CalleeType->isSpecificPlaceholderType(BuiltinType::Overload)) {
+ return CreateDependentType();
----------------
Can't we create a built in place holder type here? Or could we simply just return `CalleeType`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95244/new/
https://reviews.llvm.org/D95244
More information about the cfe-commits
mailing list