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

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to