[all-commits] [llvm/llvm-project] 065fc1: PR45521: Preserve the value kind when performing a...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Jul 7 18:28:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 065fc1eafe7c6f67f8029bcd38e6864b3c429e35
      https://github.com/llvm/llvm-project/commit/065fc1eafe7c6f67f8029bcd38e6864b3c429e35
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/references.cpp

  Log Message:
  -----------
  PR45521: Preserve the value kind when performing a standard conversion
sequence on a glvalue expression.

If the sequence is supposed to perform an lvalue-to-rvalue conversion,
then one will be specified as the first conversion in the sequence.
Otherwise, one should not be invented.




More information about the All-commits mailing list