[llvm-bugs] [Bug 26171] New: llvm/include/llvm/Option/ArgList.h: 8 * possible performance problem ?

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 15 22:59:00 PST 2016


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

            Bug ID: 26171
           Summary: llvm/include/llvm/Option/ArgList.h: 8 * possible
                    performance problem ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

[trunk/llvm/include/llvm/Option/ArgList.h:411]: (performance) Function
parameter 'Opt' should be passed by reference.

  void AddFlagArg(const Arg *BaseArg, const Option Opt) {

More of the same

> [trunk/llvm/include/llvm/Option/ArgList.h:418]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:427]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:435]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:442]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:446]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:451]: (performance) Function parameter 'Opt' should be passed by reference.
> [trunk/llvm/include/llvm/Option/ArgList.h:456]: (performance) Function parameter 'Opt' should be passed by reference.

-- 
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/20160116/28c42e2d/attachment.html>


More information about the llvm-bugs mailing list