[all-commits] [llvm/llvm-project] 7f05fe: [AST][RecoveryExpr] Fix a crash on undeduced type.

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Oct 5 03:57:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f05fe1aeeb005b552c6a3093b61659e7b578b14
      https://github.com/llvm/llvm-project/commit/7f05fe1aeeb005b552c6a3093b61659e7b578b14
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/AST/ast-dump-recovery.cpp
    M clang/test/SemaCXX/recovery-expr-type.cpp

  Log Message:
  -----------
  [AST][RecoveryExpr] Fix a crash on undeduced type.

We should not capture the type if the function return type is undeduced.

Reviewed By: adamcz

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




More information about the All-commits mailing list