http://www.llvm.org/bugs/show_bug.cgi?id=6357
Summary: Improve source-location information for
DeclarationNames
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Estimated Hours: 0.0
We need a DeclarationNameLoc (or something like it) to store complete
source-location information for non-identifier names, e.g., the locations of
the '+' token in
operator +
the precise type source information for
operator const T *
and for
~Foo
etc. This is important for source fidelity, good diagnostics during
instantiation, and to implement all of the nonsense in C++
[basic.lookup.classref] with looking into different scopes for the same name,
then rectifying the results. The current FirstQualifierInScope hack doesn't
capture all of the information we need in a form that works through template
instantiation.
--
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs