https://bugs.llvm.org/show_bug.cgi?id=38460
Bug ID: 38460
Summary: assert with -fdelated-template-parsing:
getContainingDC(DC) == CurContext && "The next
DeclContext should be lexically contained in the
current one."
Product: new-bugs
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: h...@chromium.org
CC: llvm-bugs@lists.llvm.org
Reduced repro:
struct S {
template <typename> struct T {
static void foo() {
struct U { void dummy() {} };
}
};
};
void f() {
S::T<int>::foo();
}
$ clang -cc1 -triple x86_64-pc-win32 -fdelayed-template-parsing a.cc
This was hit when using Abseil (google internal bug 73514249):
std::vector<string> vs = absl::StrSplit(...);
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs