[LLVMbugs] [Bug 7939] New: invalid start location for anonymous namespace
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 19 11:34:27 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7939
Summary: invalid start location for anonymous namespace
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bugzilla-clang at sogetthis.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=5388)
--> (http://llvm.org/bugs/attachment.cgi?id=5388)
'HandleTranslationUnit' of an ASTConsumer that shows the bug
The start SourceLocation of any anonymous namespace declaration is an invalid
one.
example:
cat ../anon.cpp
namespace {}
Given that the ASTConsumer from the attachment produces:
Typedef
start:<built-in>:102:15 range:<built-in>:102:15 - <built-in>:102:15
Namespace
start:<invalid loc> range:<invalid loc> - ../anon.cpp:1:12
UsingDirective
start:../anon.cpp:1:11 range:../anon.cpp:1:11 - ../anon.cpp:1:11
--
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