Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 9.0.2
-
None
Description
#include <utility> int main() { std::make_index_sequence<-1>{}; return 0; }
clangd occupies almost 100% memory and disk usage with above code which causes no more job can be done.
Above code is invalid of course, but it's not rare that such template instantiation occurs accidently during template metaprogramming.