https://bugs.llvm.org/show_bug.cgi?id=35334
Bug ID: 35334
Summary: clang::Sema::~Sema(): Assertion `DelayedTypos.empty()
&& "Uncorrected typos!"' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: stephan.bergmann.second...@googlemail.com
CC: kaelyn.al...@gmail.com, llvm-bugs@lists.llvm.org
With recent Clang trunk (towards 6.0, with assertions enabled):
> $ cat test.cc
> template<typename> class C;
> template<typename T> T C<T>::f(T x) { return x; }
> $ clang-6.0 -cc1 -fsyntax-only test.cc
> test.cc:2:30: error: out-of-line definition of 'f' from class
> 'C<type-parameter-0-0>' without definition
> template<typename T> T C<T>::f(T x) { return x; }
> ~~~~~~^
> clang-6.0: clang/lib/Sema/Sema.cpp:362: clang::Sema::~Sema(): Assertion
> `DelayedTypos.empty() && "Uncorrected typos!"' failed.
There is some other open bugs regarding that assertion (bug 21905, bug 22938,
bug 34507), I'm not sure this is a duplicate of any of those. Applying Diff
114022 from <https://reviews.llvm.org/D37521> linked from bug 34507 does not
help here.
--
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