[all-commits] [llvm/llvm-project] 45c0eb: [libc++] Surpress -Wunused-value warning in variant

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Tue Sep 21 15:33:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c0ebe00efbc09750a808f1e95377b9ea1744c4
      https://github.com/llvm/llvm-project/commit/45c0ebe00efbc09750a808f1e95377b9ea1744c4
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M libcxx/include/variant

  Log Message:
  -----------
  [libc++] Surpress -Wunused-value warning in variant

The idiom helps with parameter unpacking so the return value is not
important. Make it explicit.




More information about the All-commits mailing list