[LLVMbugs] [Bug 21187] New: trunk/llvm/tools/clang/utils/TableGen/NeonEmitter.cpp:1941: possible missing call to erase ?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 7 07:14:11 PDT 2014


            Bug ID: 21187
           Summary: trunk/llvm/tools/clang/utils/TableGen/NeonEmitter.cpp:
                    1941: possible missing call to erase ?
           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: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

[trunk/llvm/tools/clang/utils/TableGen/NeonEmitter.cpp:1941]: (warning) Return
value of std::unique() ignored. Elements remain in container.

  std::unique(NewTypeSpecs.begin(), NewTypeSpecs.end());

Maybe catching the return value from unique and calling erase
might be a good idea ?

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/20141007/c3fbb119/attachment.html>

More information about the llvm-bugs mailing list