This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/82481] dangling reference in mutex:693
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Oct 2017 05:17:31 +0000
- Subject: [Bug libstdc++/82481] dangling reference in mutex:693
- Auto-submitted: auto-generated
- References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I get:
clang-tidy: /home/markus/llvm/clang/include/clang/AST/Expr.h:137: void
clang::Expr::setType(clang::QualType): Assertion `(t.isNull() ||
!t->isReferenceType()) && "Expressions can't have reference type"' failed.
[1] 12173 abort clang-tidy main.cpp -extra-arg=-std=c++14
So it might well be a clang-tidy bug.