[LLVMbugs] [Bug 13417] New: Assertion failed: (width>=0) on @implementation without @end
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 19 23:05:43 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13417
Bug #: 13417
Summary: Assertion failed: (width>=0) on @implementation
without @end
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nicolasweber at gmx.de
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Nicos-MacBook-Pro:delta thakis$ cat repro.mii
@implementation ExtensionActionContextMenu
Nicos-MacBook-Pro:delta thakis$ ~/src/llvm/Release+Asserts/bin/clang -c
repro.mii
repro.mii:1:17: warning: cannot find interface declaration for
'ExtensionActionContextMenu'
@implementation ExtensionActionContextMenu
^
repro.mii:1:43: error: missing '@end'
Assertion failed: (width>=0), function columnWidth, file
/Users/thakis/src/llvm/lib/Support/LocaleXlocale.inc, line 51.
0 clang 0x000000010956e322 _ZL15PrintStackTracePv + 34
1 clang 0x000000010956e809 _ZL13SignalHandleri + 649
2 libsystem_c.dylib 0x00007fff905fccfa _sigtramp + 26
3 libsystem_c.dylib 0x000045505954435f _sigtramp + 18446679549492360831
4 clang 0x000000010956e566 abort + 22
5 clang 0x000000010956e525 __assert_rtn + 53
6 clang 0x000000010955fc76
llvm::sys::locale::columnWidth(llvm::StringRef) + 870
7 clang 0x000000010807f639
clang::TextDiagnostic::buildFixItInsertionLine(unsigned int, SourceColumnMap
const&, llvm::ArrayRef<clang::FixItHint>, clang::SourceManager const&) + 233
8 clang 0x000000010807e05f
clang::TextDiagnostic::emitSnippetAndCaret(clang::SourceLocation,
clang::DiagnosticsEngine::Level,
llvm::SmallVectorImpl<clang::CharSourceRange>&,
llvm::ArrayRef<clang::FixItHint>, clang::SourceManager const&) + 847
9 clang 0x000000010805b73c
clang::DiagnosticRenderer::emitMacroExpansionsAndCarets(clang::SourceLocation,
clang::DiagnosticsEngine::Level,
llvm::SmallVectorImpl<clang::CharSourceRange>&,
llvm::ArrayRef<clang::FixItHint>, clang::SourceManager const&, unsigned int&,
unsigned int) + 316
10 clang 0x000000010805b4f1
clang::DiagnosticRenderer::emitDiagnostic(clang::SourceLocation,
clang::DiagnosticsEngine::Level, llvm::StringRef,
llvm::ArrayRef<clang::CharSourceRange>, llvm::ArrayRef<clang::FixItHint>,
clang::SourceManager const*, llvm::PointerUnion<clang::Diagnostic const*,
clang::StoredDiagnostic const*>) + 1473
11 clang 0x00000001080822eb
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level,
clang::Diagnostic const&) + 1547
12 clang 0x0000000108a7a328
clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const + 504
13 clang 0x0000000108a75749
clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) + 89
14 clang 0x00000001082c95fb
clang::Parser::ObjCImplParsingDataRAII::~ObjCImplParsingDataRAII() + 491
15 clang 0x00000001082c34d7
clang::Parser::ParseObjCAtImplementationDeclaration(clang::SourceLocation) +
2007
16 clang 0x00000001082c16f2 clang::Parser::ParseObjCAtDirectives()
+ 466
17 clang 0x00000001082e7d24
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 596
18 clang 0x00000001082e7a47
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 311
19 clang 0x000000010827feba clang::ParseAST(clang::Sema&, bool,
bool) + 282
20 clang 0x00000001082491db clang::CodeGenAction::ExecuteAction() +
1259
21 clang 0x000000010805d29b clang::FrontendAction::Execute() + 107
22 clang 0x000000010803dc4f
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 991
23 clang 0x0000000108024a8a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3242
24 clang 0x000000010801bbbd cc1_main(char const**, char const**,
char const*, void*) + 5501
25 clang 0x0000000108020dd7 main + 663
26 clang 0x000000010801a634 start + 52
clang version 3.2 (trunk 160538:160541M) (llvm/trunk 160538)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list