[LLVMbugs] [Bug 6357] New: Improve source-location information for DeclarationNames

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 20 20:23:24 PST 2010


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: unassignedclangbugs at nondot.org
        ReportedBy: dgregor at apple.com
                CC: dgregor at apple.com
   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.



More information about the llvm-bugs mailing list