[LLVMbugs] [Bug 11159] New: Improve function name Recommendations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 17 13:26:37 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11159

           Summary: Improve function name Recommendations
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


I recently had the following code:

struct S
{
    void storeBacktrack();
    void storeBacktrackChild();
};

void f()
{
    S s;
    s.storeChildBacktrack();
}

clang suggested that I probably mean 'storeBacktrack', whereas I would say
storeBacktrackChild would be a better suggestion.

I'm not sure how easy this kind of thing (rearrange the function name) would be
to add to the function name recommendations, and how useful it would be.

-- 
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