Skip to content

clangd hangs on valid C++ #126536

@kadircet

Description

@kadircet

foo.cc:

template <class T>
void foo() {
  T bar;
  auto baz = (bar, bar);
  baz.foo();
}

clangd --check=foo.cc hangs starting with 7fd8426 when building inlay hints. It terminates almost immediately at previous commit.

Metadata

Metadata

Labels

clangdhangCompiler hang (infinite loop)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions