[Lldb-commits] [PATCH] D36126: Fix incorrect use of std::unique

Eugene Zemtsov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 31 18:09:00 PDT 2017


eugene added a comment.

clang drew my attention to it:

Symtab.cpp:620:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]

  std::unique(indexes.begin(), indexes.end());
  ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


https://reviews.llvm.org/D36126





More information about the lldb-commits mailing list