[LLVMbugs] [Bug 13418] New: Regression: Assertion failed: (getContainingDC(DC) == CurContext && "The next DeclContext should be lexically contained in the current one.") on @implementation with nested namespace
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 19 23:10:51 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13418
Bug #: 13418
Summary: Regression: Assertion failed: (getContainingDC(DC) ==
CurContext && "The next DeclContext should be
lexically contained in the current one.") on
@implementation with nested namespace
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
@interface ExtensionActionContextMenu @end
@implementation ExtensionActionContextMenu
namespace {
int CurrentTabId() {}
}
@end
Nicos-MacBook-Pro:delta thakis$ ~/src/llvm/Release+Asserts/bin/clang -c
repro.mii
Assertion failed: (getContainingDC(DC) == CurContext && "The next DeclContext
should be lexically contained in the current one."), function PushDeclContext,
file SemaDecl.cpp, line 897.
0 clang 0x00000001047f4322 _ZL15PrintStackTracePv + 34
1 clang 0x00000001047f4809 _ZL13SignalHandleri + 649
2 libsystem_c.dylib 0x00007fff905fccfa _sigtramp + 26
3 libsystem_c.dylib 0x00007fff62e9af00 _sigtramp + 18446744072946836000
4 clang 0x00000001047f4566 abort + 22
5 clang 0x00000001047f4525 __assert_rtn + 53
6 clang 0x00000001036083c8
clang::Sema::PushDeclContext(clang::Scope*, clang::DeclContext*) + 216
7 clang 0x00000001036880b0
clang::Sema::ActOnStartOfObjCMethodOrCFunctionDef(clang::Scope*, clang::Decl*,
bool) + 112
8 clang 0x000000010354f8d3
clang::Parser::ParseLexedObjCMethodDefs(clang::Parser::LexedMethod&, bool) +
259
9 clang 0x000000010354a5e0
clang::Parser::ObjCImplParsingDataRAII::finish(clang::SourceRange) + 320
10 clang 0x00000001035496b2
clang::Parser::ParseObjCAtEndDeclaration(clang::SourceRange) + 162
11 clang 0x000000010354770b clang::Parser::ParseObjCAtDirectives()
+ 491
12 clang 0x000000010356dd24
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 596
13 clang 0x00000001035493da
clang::Parser::ParseObjCAtImplementationDeclaration(clang::SourceLocation) +
1754
14 clang 0x00000001035476f2 clang::Parser::ParseObjCAtDirectives()
+ 466
15 clang 0x000000010356dd24
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 596
16 clang 0x000000010356da47
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 311
17 clang 0x0000000103505ef6 clang::ParseAST(clang::Sema&, bool,
bool) + 342
18 clang 0x00000001034cf1db clang::CodeGenAction::ExecuteAction() +
1259
19 clang 0x00000001032e329b clang::FrontendAction::Execute() + 107
20 clang 0x00000001032c3c4f
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 991
21 clang 0x00000001032aaa8a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3242
22 clang 0x00000001032a1bbd cc1_main(char const**, char const**,
char const*, void*) + 5501
23 clang 0x00000001032a6dd7 main + 663
24 clang 0x00000001032a0634 start + 52
--
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