[llvm-bugs] [Bug 26384] New: Enable Decl::print to generate qualified names

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 29 17:56:11 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26384

            Bug ID: 26384
           Summary: Enable Decl::print to generate qualified names
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dpldobrev at protonmail.com
                CC: klimek at google.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Let's have:

class Class
{
    void function(int i, const Class& c) const;
};

print() will generate "void function(int i, const Class& c) const". It would be
useful to have a way to generate "void Class::function(int i, const Class& c)
const" too, similar to NamedDecl::getNameForDiagnostic, which takes a Boolean
"Qualified" parameter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160130/4bd76e24/attachment.html>


More information about the llvm-bugs mailing list