[all-commits] [llvm/llvm-project] f86570: [libc++] Avoid triggering warnings for implicit co...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Jul 23 07:53:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f86570cd52419562b4c528c6e8a05ced00450c16
      https://github.com/llvm/llvm-project/commit/f86570cd52419562b4c528c6e8a05ced00450c16
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M libcxx/include/__functional/hash.h
    M libcxx/include/__iterator/advance.h
    M libcxx/include/tuple
    M libcxx/test/std/iterators/iterator.primitives/iterator.operations/advance.pass.cpp

  Log Message:
  -----------
  [libc++] Avoid triggering warnings for implicit conversion

This started as fixing a typo in a ADDITIONAL_COMPILE_FLAGS directive
which turned out to uncover a few places where we warned about signedness
changes.

As a fly-by fix, this updates the various __advance overloads
for style consistency.

Differential Revision: https://reviews.llvm.org/D106372




More information about the All-commits mailing list