<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed."
href="http://llvm.org/bugs/show_bug.cgi?id=21905">21905</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>david.majnemer@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>consider:
int (*a) () = (void)Z;
tools/clang/lib/Sema/Sema.cpp:249: clang::Sema::~Sema(): Assertion
`DelayedTypos.empty() && "Uncorrected typos!"' failed.
#0 0x00007ffff6bdcbb9 in __GI_raise (sig=sig@entry=0x6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff6bdffc8 in __GI_abort () at abort.c:89
#2 0x00007ffff6bd5a76 in __assert_fail_base (fmt=0x7ffff6d272b0 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x538caa8
"DelayedTypos.empty() && \"Uncorrected typos!\"", file=file@entry=0x538ca60
"~/llvm/src/tools/clang/lib/Sema/Sema.cpp", line=line@entry=0xf9,
function=function@entry=0x53909f0 <clang::Sema::~Sema()::__PRETTY_FUNCTION__>
"clang::Sema::~Sema()") at assert.c:92
#3 0x00007ffff6bd5b22 in __GI___assert_fail (assertion=0x538caa8
"DelayedTypos.empty() && \"Uncorrected typos!\"", file=0x538ca60
~/llvm/src/tools/clang/lib/Sema/Sema.cpp", line=0xf9, function=0x53909f0
<clang::Sema::~Sema()::__PRETTY_FUNCTION__> "clang::Sema::~Sema()") at
assert.c:101
#4 0x0000000003451095 in clang::Sema::~Sema (this=0x6bd29a0,
__in_chrg=<optimized out>) at ~/llvm/src/tools/clang/lib/Sema/Sema.cpp:249
#5 0x00000000024e33d4 in std::default_delete<clang::Sema>::operator()
(this=0x6b84f70, __ptr=0x6bd29a0) at /usr/include/c++/4.8/bits/unique_ptr.h:67
#6 0x00000000024e0104 in std::unique_ptr<clang::Sema,
std::default_delete<clang::Sema> >::reset (this=0x6b84f70, __p=0x6bd29a0) at
/usr/include/c++/4.8/bits/unique_ptr.h:262
#7 0x00000000024d516d in clang::CompilerInstance::setSema (this=0x6b84f10,
S=0x0) at ~/llvm/src/tools/clang/lib/Frontend/CompilerInstance.cpp:101
#8 0x000000000250f73f in clang::FrontendAction::EndSourceFile (this=0x6b85dd0)
at ~/llvm/src/tools/clang/lib/Frontend/FrontendAction.cpp:467
#9 0x00000000024d8f56 in clang::CompilerInstance::ExecuteAction
(this=0x6b84f10, Act=...) at
~/llvm/src/tools/clang/lib/Frontend/CompilerInstance.cpp:812
#10 0x0000000002620855 in clang::ExecuteCompilerInvocation (Clang=0x6b84f10) at
~/llvm/src/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:222
#11 0x00000000011b58d6 in cc1_main (Argv=..., Argv0=0x7fffffffe4c2
"~/llvm/Debug+Asserts/bin/clang", MainAddr=0x11abffd <GetExecutablePath(char
const*, bool)>) at ~/llvm/src/tools/clang/tools/driver/cc1_main.cpp:110
#12 0x00000000011ad69a in ExecuteCC1Tool (argv=..., Tool=...) at
~/llvm/src/tools/clang/tools/driver/driver.cpp:369
#13 0x00000000011addd0 in main (argc_=0x5, argv_=0x7fffffffe1c8) at
~/llvm/src/tools/clang/tools/driver/driver.cpp:415</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>