[LLVMbugs] [Bug 19601] New: clang/lib/Tooling/CompilationDatabase.cpp:241: return value for remove_if not used ?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 29 07:36:37 PDT 2014


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

            Bug ID: 19601
           Summary: clang/lib/Tooling/CompilationDatabase.cpp:241: return
                    value for remove_if not used ?
           Product: new-bugs
           Version: trunk
          Hardware: All
                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/lib/Tooling/CompilationDatabase.cpp:241]: (warning)
Return value of std::remove_if() ignored. Elements remain in container.

Suggest use return value from remove_if to remove undesired elements 
from container.

-- 
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/20140429/157cfee5/attachment.html>


More information about the llvm-bugs mailing list