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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits