[all-commits] [llvm/llvm-project] 9c1c22: [Clang] Correctly handle callees whose type is a R...

cor3ntin via All-commits all-commits at lists.llvm.org
Tue Oct 3 10:38:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c1c2211693cd14b23c3899e95af1ba3129ab5db
      https://github.com/llvm/llvm-project/commit/9c1c2211693cd14b23c3899e95af1ba3129ab5db
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M clang/lib/AST/Expr.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp

  Log Message:
  -----------
  [Clang] Correctly handle callees whose type is a Record type when classifying expressions (#68078)

when the callee is an object.

When implementing deducing this, we changed
`DeduceTemplateArgumentsFromCallArgument` to take an argument
classification because we need to deduce the type of argument for which
we might not have an expression yet.

However classifying a dependent call expression whose type is just some
sort of record or elaborated type was not supported.

Fixes #68024




More information about the All-commits mailing list