v.g.vassilev added a comment. In D125944#3544341 <https://reviews.llvm.org/D125944#3544341>, @v.g.vassilev wrote:
> @Purva-Chaudhari, can you rebase this patch, seems that it is not buildable. > > @rsmith, we need to do something similar in cling to handle pending template > instantiations, I guess the question is if we can avoid instantiating the > templates we don't need and still survive. @rsmith, ping. ================ Comment at: clang/test/Interpreter/execute.cpp:2 +// RUN: clang-repl "template<class T> T f() { return T(); }" "auto ptu2 = f<float>(); err;" \ +// RUN: "auto ptu2 = f<float>();" "int i = 0;" // RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \ ---------------- Can you move this test into a separate file which is dedicated for testing recovery of templates? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125944/new/ https://reviews.llvm.org/D125944 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits