The new assert is firing across Chromium, please fix or revert. This is a
reduced test case:

int a;
struct Foo {
  template <typename b, typename c = decltype(a)> void operator()(b, c = a);
};
Foo d;
bool e;
decltype(d(e)) gv;

This causes the "missing non-odr-use marking for unevaluated decl ref"
assertion on SemaExpr.cpp:16227 to fire.
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to