[PATCH] D95244: [clang][AST] Handle overload callee type in CallExpr::getCallReturnType.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 26 03:31:19 PST 2021
balazske added a comment.
I could add a test in ToolingTests, lit test is much more difficult to add because the function is normally not called on "bad" code.
================
Comment at: clang/lib/AST/Expr.cpp:1403
+ if (CalleeType.isNull())
+ return CreateDependentType();
+
----------------
I am not sure if dependent type is here (and later) the correct value to return. But only a null type is another possibility.
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