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: unassignedb...@nondot.org
          Reporter: dcb...@hotmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to