Hi all,
On release_70, for the example code:
#include <type_traits>
class Node {};
template
void buildGenericSCCs(GetBeginT &&GetBegin) {
decltype(GetBegin(std::declval<Node &>())) DFSStack;
}
In Mangle.h when calling mangleCXXName() on VarDecl of DFSStack, assertion triggered:
tools/clang/lib/AST/ItaniumMangle.cpp:4317: void (anonymous namespace)::CXXNameMangler::mangleFunctionParam(const clang::ParmVarDecl *): Assertion `parmDepth < FunctionTypeDepth.getDepth()’ failed.
Do anyone have any ideas on the cause of it? Thanks