[all-commits] [llvm/llvm-project] 766f15: Sema: Create a no-op implicit cast for lvalue func...

pcc via All-commits all-commits at lists.llvm.org
Fri Oct 18 17:33:56 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 766f15814a012e5e6522c4e0f93c094ca2408367
      https://github.com/llvm/llvm-project/commit/766f15814a012e5e6522c4e0f93c094ca2408367
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2019-10-19 (Sat, 19 Oct 2019)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    A clang/test/CodeGenCXX/implicit-function-conversion.cpp

  Log Message:
  -----------
  Sema: Create a no-op implicit cast for lvalue function conversions.

This fixes an assertion failure in the case where an implicit conversion for a
function call involves an lvalue function conversion, and makes the AST for
initializations involving implicit lvalue function conversions more accurate.

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

llvm-svn: 375313




More information about the All-commits mailing list